[FFmpeg-devel] [PATCH] MLP/TrueHD decoder

Ian Caulfield ian.caulfield
Sun Nov 18 21:58:05 CET 2007


On Nov 18, 2007 4:43 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
>
> > +
> > +        ff_combine_frame(&mp->pc, i - 7, &buf, &buf_size);
> > +
> > +        return FFMAX(i - 7, 0);
>
> i think this should be return i-7

Is it valid to return a negative number in a non-error case?

Ian




More information about the ffmpeg-devel mailing list