changeset 3706:590e8cbe6d77 libavformat

Support Electronic Arts files containing MPEG2VIDEO.
author pross
date Tue, 12 Aug 2008 08:32:59 +0000
parents 98156a539790
children 57d88d565add
files electronicarts.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/electronicarts.c	Sun Aug 10 15:34:29 2008 +0000
+++ b/electronicarts.c	Tue Aug 12 08:32:59 2008 +0000
@@ -331,6 +331,10 @@
                 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 @@
             goto get_video_packet;
 
         case MV0K_TAG:
+        case MPCh_TAG:
             key = PKT_FLAG_KEY;
         case MV0F_TAG:
 get_video_packet: