diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-11-06 13:01:06 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-06 13:01:06 +0100 |
commit | 4b2763cd1354484b7ddec95e6509869d906f3b69 (patch) | |
tree | 8777368636bf7e3c5a6f48e087f7abd4fe5ab9aa /libavformat/oggparsevorbis.c | |
parent | f74be3669daa8b471fb8919fa980d9bed3207af2 (diff) | |
download | ffmpeg-4b2763cd1354484b7ddec95e6509869d906f3b69.tar.gz |
avformat/oggparsevorbis: return proper error code from vorbis_header()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/oggparsevorbis.c')
-rw-r--r-- | libavformat/oggparsevorbis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/oggparsevorbis.c b/libavformat/oggparsevorbis.c index dd671301e1..87b8190d0e 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; } } |