[FFmpeg-devel] [PATCH] Silence warnings about NAL_SVC_NON_IDR in H264

Michael Niedermayer michaelni
Thu Aug 30 15:43:33 CEST 2007


Hi

On Thu, Aug 30, 2007 at 01:48:35PM +0100, M?ns Rullg?rd wrote:
> 
> Carl Eugen Hoyos wrote:
> > Hi!
> >
> > On 2007-08-30 10:32, Reimar D?ffinger wrote:
> >> Hello,
> >> On Thu, Aug 30, 2007 at 12:18:25PM +0200, Carl Eugen Hoyos wrote:
> >> > Hi!
> >> >
> >> > When watching EXQI, a HDTV program broadcasting in H264, with MPlayer,
> >> > this warning appears every few seconds:
> >> >
> >> > [h264 @ 0x891c570]Unknown NAL code: 20 (18 bits)
> >> >
> >> > Attached patch silences the warnings by ignoring these NALs.
> >> >
> >> > Carl Eugen
> >>
> >> > Index: libavcodec/h264data.h
> >> > ===================================================================
> >> > --- libavcodec/h264data.h    (Revision 10260)
> >> > +++ libavcodec/h264data.h    (Arbeitskopie)
> >> > @@ -74,7 +74,9 @@
> >> >  NAL_END_STREAM,
> >> >  NAL_FILLER_DATA,
> >> >  NAL_SPS_EXT,
> >> > -NAL_AUXILIARY_SLICE=19
> >> > +NAL_AUXILIARY_SLICE=19,
> >> > +NAL_SVC_NON_IDR,
> >> > +NAL_SVC_IDR
> 
> NAL unit types 20--23 are "reserved" in the latest published version

maybe we should change the warning to print reserved instead of unknown ...

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

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070830/c8c909c3/attachment.pgp>



More information about the ffmpeg-devel mailing list