[FFmpeg-cvslog] r22711 - trunk/libavcodec/tta.c

Reimar Döffinger Reimar.Doeffinger
Mon Mar 29 19:24:23 CEST 2010


On Mon, Mar 29, 2010 at 12:31:12PM +0530, Jai Menon wrote:
> On Mon, Mar 29, 2010 at 3:39 AM, Stefano Sabatini
> <stefano.sabatini-lala at poste.it> wrote:
> > On date Sunday 2010-03-28 19:17:48 +0200, jai_menon wrote:
> >> + ? ? ? ? ? ?return -1;
> >
> > AVERROR_INVALIDDATA.
> 
> I'm not sure about this. For very high sample rate media, this check
> might trigger and the data is clearly not invalid.

Since the user could provide a buffer large enough for it to work, I agree.
I don't know what a good return value would be, something that clearly indicates
that the only issue is that a output buffer was too small an providing a bigger
one and retry will fix it might make sense.



More information about the ffmpeg-cvslog mailing list