[FFmpeg-devel] [PATCH] avcodec/h264_sei: Do not skip subsequent SEIs on error unless explode is set

Michael Niedermayer michael at niedermayer.cc
Tue Jun 21 12:36:17 CEST 2016


On Sun, Jun 12, 2016 at 06:15:55PM +0200, Hendrik Leppkes wrote:
> On Sun, Jun 12, 2016 at 12:49 PM, Michael Niedermayer
> <michael at niedermayer.cc> wrote:
> > Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> > ---
> >  libavcodec/h264_sei.c |    6 +++++-
> >  1 file changed, 5 insertions(+), 1 deletion(-)
> >
> 
> One argument here is that if one SEI is corrupt, there is no
> guarantees even the size information was correct, and as such parsing
> any further SEI units may not yield reliable results.
> But its probably not going to change much either way, so if you feel
> this is better then its fine.

The intend was to continue if somethig was missing like a prior
SPS not an actual bitstream error
ill post a better patch

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

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160621/bcbef8e5/attachment.sig>


More information about the ffmpeg-devel mailing list