Commit 79127dbb authored by Derek Buitenhuis's avatar Derek Buitenhuis

Merge commit '3ef98937'

* commit '3ef98937':
  mov: Force the full parsing of mp3
Merged-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parents 9fad1ce7 3ef98937
...@@ -3100,6 +3100,9 @@ static int mov_read_trak(MOVContext *c, AVIOContext *pb, MOVAtom atom) ...@@ -3100,6 +3100,9 @@ static int mov_read_trak(MOVContext *c, AVIOContext *pb, MOVAtom atom)
st->codec->width = 0; /* let decoder init width/height */ st->codec->width = 0; /* let decoder init width/height */
st->codec->height= 0; st->codec->height= 0;
break; break;
case AV_CODEC_ID_MP3:
st->need_parsing = AVSTREAM_PARSE_FULL;
break;
} }
// If the duration of the mp3 packets is not constant, then they could need a parser // If the duration of the mp3 packets is not constant, then they could need a parser
......
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