[FFmpeg-devel] [PATCH] RTP depacketizer for QCELP

Martin Storsjö martin
Wed Dec 1 11:11:59 CET 2010


On Wed, 1 Dec 2010, Stefano Sabatini wrote:

> On date Monday 2010-11-29 19:19:02 +0200, Martin Storsj? encoded:

> > +    if (interleave_index > interleave_size) {
> > +        av_log(ctx, AV_LOG_ERROR, "Invalid interleave index %d/%d\n",
> > +                                   interleave_index, interleave_size);
> > +        return AVERROR_INVALIDDATA;
> 
> AVERROR_INVALIDDATA is deprecated -> AVERROR(INVALIDDATA).

I guess you mean AVERROR(EINVAL)?

And why is it deprecated? In libavutil/error.h, I see a definition of 
AVERROR_INVALIDDATA for both the current and future major versions.

// Martin



More information about the ffmpeg-devel mailing list