mkv.cpp: try to decode H.264 with the avc1 FourCC (same as used for the MP4 source)
authorSteve Lhomme <robux@videolan.org>
Mon, 14 Feb 2005 21:00:52 +0000 (21:00 +0000)
committerSteve Lhomme <robux@videolan.org>
Mon, 14 Feb 2005 21:00:52 +0000 (21:00 +0000)
modules/demux/mkv.cpp

index 24386dd..a4d0cd6 100644 (file)
@@ -760,7 +760,7 @@ static int Open( vlc_object_t * p_this )
             }
             else if( !strcmp( tk.psz_codec, "V_MPEG4/ISO/AVC" ) )
             {
             }
             else if( !strcmp( tk.psz_codec, "V_MPEG4/ISO/AVC" ) )
             {
-                tk.fmt.i_codec = VLC_FOURCC( 'h', '2', '6', '4' );
+                tk.fmt.i_codec = VLC_FOURCC( 'a', 'v', 'c', '1' );
                 tk.fmt.b_packetized = VLC_FALSE;
                 tk.fmt.i_extra = tk.i_extra_data;
                 tk.fmt.p_extra = malloc( tk.i_extra_data );
                 tk.fmt.b_packetized = VLC_FALSE;
                 tk.fmt.i_extra = tk.i_extra_data;
                 tk.fmt.p_extra = malloc( tk.i_extra_data );