Commit 4b2763cd authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/oggparsevorbis: return proper error code from vorbis_header()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f74be366
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment