avcodec/mjpegdec: request a AMV sample with non mod 16 height
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e1bd40fe6b
commit
149be91374
@ -264,6 +264,9 @@ int ff_mjpeg_decode_sof(MJpegDecodeContext *s)
|
||||
height = get_bits(&s->gb, 16);
|
||||
width = get_bits(&s->gb, 16);
|
||||
|
||||
if (s->avctx->codec_id == AV_CODEC_ID_AMV && (height&15))
|
||||
avpriv_request_sample(s->avctx, "non mod 16 height AMV\n");
|
||||
|
||||
// HACK for odd_height.mov
|
||||
if (s->interlaced && s->width == width && s->height == height + 1)
|
||||
height= s->height;
|
||||
|
Loading…
Reference in New Issue
Block a user