diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-08-20 05:52:44 +0000 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-08-22 11:15:20 +0000 |
commit | 7b6aae23e12f41cdfac7f1069debfe44d9a3d136 (patch) | |
tree | f1bbf1a50fff90fcaede7200d1a542498c3667b2 /libavformat/electronicarts.c | |
parent | 4d6c5152849e23a4cc0f6a6ac2880c01ebcd301b (diff) | |
download | ffmpeg-7b6aae23e12f41cdfac7f1069debfe44d9a3d136.tar.gz |
electronicarts: read the framerate for MAD
Diffstat (limited to 'libavformat/electronicarts.c')
-rw-r--r-- | libavformat/electronicarts.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c index adcd45a6f2..255bb7b6ce 100644 --- a/libavformat/electronicarts.c +++ b/libavformat/electronicarts.c @@ -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: |