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

Guillaume POIRIER poirierg
Fri Feb 9 23:26:01 CET 2007


Hi,

On 2/9/07, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Fri, Feb 09, 2007 at 10:48:00AM -0500, Francois Oligny-Lemieux wrote:
> > 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

Patch applied.

Guillaume




More information about the ffmpeg-devel mailing list