On 2011-12-18 18:20:31 -0800, Ronald S. Bultje wrote:
> Hi,
> 
> On Sun, Dec 18, 2011 at 6:03 PM, Janne Grunau <janne-li...@jannau.net>wrote:
> 
> > This reverts commit 87eebb3454ff0cd6af6ebf9e1d31bdfd1c3b601b.
> > ---
> >  libavcodec/h264.c        |   11 ++---------
> >  libavcodec/h264.h        |    5 +----
> >  libavcodec/h264_parser.c |    2 +-
> >  3 files changed, 4 insertions(+), 14 deletions(-)
> >
> 
> Any plans to introduce the same concept in another way?

I tried to fix it differently but realized that
Mr_MrsSmith-h264_aac.mp4 is broken. Section 7.4.1 clearly forbids three
consecutive zero bytes within a nal unit.

Zeroing the trailling bits in the partial bytes "fixes" the sample.
It's sheer luck that the resulting SPS is less broken but I think it
i still a good idea.

Janne
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to