Commit 7b6aae23 authored by Anton Khirnov's avatar Anton Khirnov

electronicarts: read the framerate for MAD

parent 4d6c5152
......@@ -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:
......
This diff is collapsed.
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