]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/c93.c
lavc/libopenh264enc: Allow specifying the profile through AVCodecContext
[ffmpeg] / libavcodec / c93.c
index b708659cca93b9dab6da400c5b2cc5261e07bdaf..e1808150b873fba47d2f2254eb525873c56004f7 100644 (file)
@@ -138,7 +138,7 @@ static int decode_frame(AVCodecContext *avctx, void *data,
 
     c93->currentpic ^= 1;
 
-    if ((ret = ff_reget_buffer(avctx, newpic)) < 0)
+    if ((ret = ff_reget_buffer(avctx, newpic, 0)) < 0)
         return ret;
 
     stride = newpic->linesize[0];