Commit 09c15eac authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit '41ed749f'

* commit '41ed749f':
  ogg: Do not try to use the parser if it is not present
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents eadf6cb2 41ed749f
......@@ -406,6 +406,9 @@ static int vorbis_packet(AVFormatContext *s, int idx)
struct oggvorbis_private *priv = os->private;
int duration, flags = 0;
if (!priv->vp)
return AVERROR_INVALIDDATA;
/* first packet handling
* here we parse the duration of each packet in the first page and compare
* the total duration to the page granule to find the encoder delay and
......
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