]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/qdrw.c
lavf/audiotoolboxdec: only send extradata for formats that use it
[ffmpeg] / libavcodec / qdrw.c
index 0a31b4166095dfc48fe7a04e2c97b8cbe9ddc4fa..828cfea3fd59550c25b8762ded8557e48144120d 100644 (file)
@@ -281,10 +281,8 @@ static int decode_frame(AVCodecContext *avctx,
                 avpriv_request_sample(avctx, "Pack type %d", pack_type);
                 return AVERROR_PATCHWELCOME;
             }
-            if ((ret = ff_get_buffer(avctx, p, 0)) < 0) {
-                av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
+            if ((ret = ff_get_buffer(avctx, p, 0)) < 0)
                 return ret;
-            }
 
             /* jump to data */
             bytestream2_skip(&gbc, 30);