ffmpeg | branch: master | Michael Niedermayer <[email protected]> | Thu Nov 6 13:01:06 2014 +0100| [4b2763cd1354484b7ddec95e6509869d906f3b69] | committer: Michael Niedermayer
avformat/oggparsevorbis: return proper error code from vorbis_header() Signed-off-by: Michael Niedermayer <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4b2763cd1354484b7ddec95e6509869d906f3b69 --- libavformat/oggparsevorbis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/oggparsevorbis.c b/libavformat/oggparsevorbis.c index dd67130..87b8190 100644 --- a/libavformat/oggparsevorbis.c +++ b/libavformat/oggparsevorbis.c @@ -392,7 +392,7 @@ static int vorbis_header(AVFormatContext *s, int idx) if (!priv->vp) { av_freep(&st->codec->extradata); st->codec->extradata_size = 0; - return ret; + return AVERROR_UNKNOWN; } } _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
