Re: [FFmpeg-devel] [PATCH] avcodec/h264dec: check number of SPS in is_extra

2018-09-07 Thread Michael Niedermayer
On Thu, Sep 06, 2018 at 05:15:11PM +0800, Zhao Zhili wrote: > --- > libavcodec/h264dec.c | 2 ++ > 1 file changed, 2 insertions(+) will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Breaking DRM is a little like attempting to break through a door e

[FFmpeg-devel] [PATCH] avcodec/h264dec: check number of SPS in is_extra

2018-09-06 Thread Zhao Zhili
--- libavcodec/h264dec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index bffce52..6f7530d 100644 --- a/libavcodec/h264dec.c +++ b/libavcodec/h264dec.c @@ -871,6 +871,8 @@ static int is_extra(const uint8_t *buf, int buf_size) { int cnt=