[FFmpeg-devel] [PATCH] lavc/vp9: fix reference frame dimensions check

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Mar 11 12:47:31 EET 2020


Am Mi., 11. März 2020 um 11:44 Uhr schrieb Linjie Fu <linjie.fu at intel.com>:
>
> With the description in frame size with refs semantics (SPEC 7.2.5),
> it is a requirement of bitstream conformance that for at least one
> reference frame has the valid dimensions.
>
> Modify the check to make sure the decoder works well in the condition
> that not all references frames have valid dimensions.
>
> Signed-off-by: Linjie Fu <linjie.fu at intel.com>
> ---
> Fix the the decoding faiure for frames with dimension-ilegal refs.
> Verifying with native vp9 and libvpx-vp9 decoder, the md5 result matches.
> https://github.com/webmproject/libvpx/blob/master/vp9/decoder/vp9_decodeframe.c#L1580

Did you provide a sample?

Carl Eugen


More information about the ffmpeg-devel mailing list