[Ffmpeg-devel] h264.c patch, always decoding extradata when on non avc stream

Michael Niedermayer michaelni
Fri Feb 9 17:11:07 CET 2007


Hi

On Fri, Feb 09, 2007 at 10:48:00AM -0500, Francois Oligny-Lemieux wrote:
> Hello,
> 
> On 2/8/07, Michael Niedermayer <michaelni at gmx.at> wrote:
> >
> >>
> >> The check is currently:
> >>    if(!h->is_avc && s->avctx->extradata_size && s->picture_number==0){
> >>        //process extra data
> >
> >hmm what about using AVCodecContext.frame_number instead ?
> 
> 
> sure that's even better
> It now becomes a one-line patch :)

looks ok 

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

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070209/a98aa4f8/attachment.pgp>



More information about the ffmpeg-devel mailing list