Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.5
Michael Niedermayer 11 years ago
parent
commit
4b2763cd13
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/oggparsevorbis.c

+ 1
- 1
libavformat/oggparsevorbis.c View File

@@ -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;
}
}



Loading…
Cancel
Save