Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-12-16 20:02:04 +0300
committerDiego Biurrun <diego@biurrun.de>2016-10-29 19:32:21 +0300
commit30015305f3b523ed7640f2c3c58b017140533c58 (patch)
tree88f29a1b5bea6cf7866af46561a0035e841625e5 /libavcodec/roqvideodec.c
parent07cac07c0c0360d67e73a7472214c79d6c520a4b (diff)
Use avpriv_request_sample() where appropriate
Diffstat (limited to 'libavcodec/roqvideodec.c')
-rw-r--r--libavcodec/roqvideodec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/roqvideodec.c b/libavcodec/roqvideodec.c
index 4f778dc98a..d141064b82 100644
--- a/libavcodec/roqvideodec.c
+++ b/libavcodec/roqvideodec.c
@@ -164,8 +164,7 @@ static av_cold int roq_decode_init(AVCodecContext *avctx)
s->avctx = avctx;
if (avctx->width % 16 || avctx->height % 16) {
- av_log(avctx, AV_LOG_ERROR,
- "Dimensions must be a multiple of 16\n");
+ avpriv_request_sample(avctx, "Dimensions not being a multiple of 16");
return AVERROR_PATCHWELCOME;
}