]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/shorten.c
qsv: Drop some unused variables
[ffmpeg] / libavcodec / shorten.c
index ee6dc70942d670c3ccb7a29c1bc5dd6b477b1969..00d166177996c9ec8c48758fa011d952024369e2 100644 (file)
@@ -515,8 +515,8 @@ static int shorten_decode_frame(AVCodecContext *avctx, void *data,
             case FN_BLOCKSIZE: {
                 unsigned blocksize = get_uint(s, av_log2(s->blocksize));
                 if (blocksize > s->blocksize) {
-                    av_log(avctx, AV_LOG_ERROR,
-                           "Increasing block size is not supported\n");
+                    avpriv_report_missing_feature(avctx,
+                                                  "Increasing block size");
                     return AVERROR_PATCHWELCOME;
                 }
                 if (!blocksize || blocksize > MAX_BLOCKSIZE) {