[FFmpeg-devel] [PATCH 3/4] avcodec/proresdec2: allow changing resolution
Paul B Mahol
onemda at gmail.com
Wed Dec 5 19:52:08 EET 2018
Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
libavcodec/proresdec2.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavcodec/proresdec2.c b/libavcodec/proresdec2.c
index f715b86aad..4a9c408291 100644
--- a/libavcodec/proresdec2.c
+++ b/libavcodec/proresdec2.c
@@ -222,9 +222,8 @@ static int decode_frame_header(ProresContext *ctx, const uint8_t *buf,
height = AV_RB16(buf + 10);
if (width != avctx->width || height != avctx->height) {
- av_log(avctx, AV_LOG_ERROR, "picture resolution change: %dx%d -> %dx%d\n",
+ av_log(avctx, AV_LOG_WARNING, "picture resolution change: %dx%d -> %dx%d\n",
avctx->width, avctx->height, width, height);
- return AVERROR_PATCHWELCOME;
}
ctx->frame_type = (buf[12] >> 2) & 3;
--
2.17.1
More information about the ffmpeg-devel
mailing list