[FFmpeg-devel] [PATCH] avcodec/h264_parse: no need check ref list1 for P slices.

Michael Niedermayer michael at niedermayer.cc
Fri Feb 8 12:49:44 EET 2019


On Thu, Jan 31, 2019 at 03:36:56PM +0800, Decai Lin wrote:
> This is robust for some corner case there is incorrect list1 count
> in pps header, but it's a P slice and can be decoded well.
> 
> Signed-off-by: Decai Lin <decai.lin at intel.com>
> ---
>  libavcodec/h264_parse.c | 11 ++++++-----
>  1 file changed, 6 insertions(+), 5 deletions(-)

will apply with a minor change clearing the contraditionary value

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190208/a8fdd8c4/attachment.sig>


More information about the ffmpeg-devel mailing list