[FFmpeg-cvslog] r14708 - trunk/libavformat/electronicarts.c
pross
subversion
Tue Aug 12 10:32:59 CEST 2008
Author: pross
Date: Tue Aug 12 10:32:59 2008
New Revision: 14708
Log:
Support Electronic Arts files containing MPEG2VIDEO.
Modified:
trunk/libavformat/electronicarts.c
Modified: trunk/libavformat/electronicarts.c
==============================================================================
--- trunk/libavformat/electronicarts.c (original)
+++ trunk/libavformat/electronicarts.c Tue Aug 12 10:32:59 2008
@@ -331,6 +331,10 @@ static int process_ea_header(AVFormatCon
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(AVFormatContex
goto get_video_packet;
case MV0K_TAG:
+ case MPCh_TAG:
key = PKT_FLAG_KEY;
case MV0F_TAG:
get_video_packet:
More information about the ffmpeg-cvslog
mailing list