On Sat, Apr 23, 2016 at 05:41:49PM +0200, wm4 wrote: > On Sat, 23 Apr 2016 17:34:56 +0200 > Michael Niedermayer <mich...@niedermayer.cc> wrote: > > > Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > > --- > > libavcodec/utils.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/libavcodec/utils.c b/libavcodec/utils.c > > index 946ecb9..21ad3cf 100644 > > --- a/libavcodec/utils.c > > +++ b/libavcodec/utils.c > > @@ -2422,6 +2422,8 @@ fail: > > av_frame_unref(frame); > > } > > > > + av_assert0(ret <= avpkt->size); > > + > > return ret; > > } > > > > If you're confident that this actually holds true for all decoders, > fine.
i couldnt find a file for which this fails and decoders failing this really are buggy and should be fixed (i volunteer to fix any, please CC me if anyone finds one) applied thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB In fact, the RIAA has been known to suggest that students drop out of college or go to community college in order to be able to afford settlements. -- The RIAA
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel