diff options
author | Peter Ross <pross@xvid.org> | 2008-08-12 08:32:59 +0000 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2008-08-12 08:32:59 +0000 |
commit | d3302b70114ed59deb601ebb37ea99e83a6f7751 (patch) | |
tree | 0ab1abb100b20294c0afe2a1d735e906192e982c /libavformat | |
parent | 81b060faf98d3ef3ab009220ba8a725a31ff047f (diff) | |
download | ffmpeg-d3302b70114ed59deb601ebb37ea99e83a6f7751.tar.gz |
Support Electronic Arts files containing MPEG2VIDEO.
Originally committed as revision 14708 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/electronicarts.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c index 5aa033a0ca..3ac0f4f1bf 100644 --- a/libavformat/electronicarts.c +++ b/libavformat/electronicarts.c @@ -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: |