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

Francois Oligny-Lemieux eucloid
Fri Feb 9 16:48:00 CET 2007


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 :)

Francois Oligny-Lemieux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: h264.c.09feb2007.diff
Type: application/octet-stream
Size: 459 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070209/e389274a/attachment.obj>



More information about the ffmpeg-devel mailing list