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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/94/head
Michael Niedermayer 10 years ago
parent f74be3669d
commit 4b2763cd13
  1. 2
      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;
}
}

Loading…
Cancel
Save