]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/bethsoftvideo.c
avformat/http: Remove deprecated "user-agent" option
[ffmpeg] / libavcodec / bethsoftvideo.c
index e5a73f55a1c2a2a2d8143f1ddfa6d289a5d5c477..a931b54911389c80022f6e2387d7702f775c3093 100644 (file)
@@ -79,7 +79,7 @@ static int bethsoftvid_decode_frame(AVCodecContext *avctx,
     int code, ret;
     int yoffset;
 
-    if ((ret = ff_reget_buffer(avctx, vid->frame)) < 0)
+    if ((ret = ff_reget_buffer(avctx, vid->frame, 0)) < 0)
         return ret;
     wrap_to_next_line = vid->frame->linesize[0] - avctx->width;