Merge commit '3ef98937f512184f80d3bd30015f5ec83dc11eb0'

* commit '3ef98937f512184f80d3bd30015f5ec83dc11eb0':
  mov: Force the full parsing of mp3

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
Derek Buitenhuis 2016-02-24 18:06:40 +00:00
commit 79127dbbef
1 changed files with 3 additions and 0 deletions

View File

@ -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->height= 0;
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