Commit 82c1159a authored by pross's avatar pross

Support Electronic Arts files containing MPEG2VIDEO.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14708 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3e1594ea
......@@ -331,6 +331,10 @@ static int process_ea_header(AVFormatContext *s) {
err = process_video_header_mdec(s);
break;
case MPCh_TAG:
ea->video_codec = CODEC_ID_MPEG2VIDEO;
break;
case MVhd_TAG :
err = process_video_header_vp6(s);
break;
......@@ -490,6 +494,7 @@ static int ea_read_packet(AVFormatContext *s,
goto get_video_packet;
case MV0K_TAG:
case MPCh_TAG:
key = PKT_FLAG_KEY;
case MV0F_TAG:
get_video_packet:
......
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