electronicarts: read the framerate for MAD

This commit is contained in:
Anton Khirnov
2014-08-20 05:52:44 +00:00
parent 4d6c515284
commit 7b6aae23e1
2 changed files with 99 additions and 97 deletions

View File

@@ -402,6 +402,8 @@ static int process_ea_header(AVFormatContext *s)
case MADk_TAG:
ea->video_codec = AV_CODEC_ID_MAD;
avio_skip(pb, 6);
ea->time_base = (AVRational) { avio_rl16(pb), 1000 };
break;
case MVhd_TAG: