[vlc-commits] demux: asf: fix ms-dvr truncated frames (fix #14414)

Francois Cartegnie git at videolan.org
Tue Apr 21 22:10:53 CEST 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Apr 21 22:08:01 2015 +0200| [f7ffd0132121652b85ab5fd49ad4a2423172b182] | committer: Francois Cartegnie

demux: asf: fix ms-dvr truncated frames (fix #14414)

Since the copy mpeg2 packetizer is no longer accepting
mpg2 fourcc, the -broken- ms-dvr files are not
packetized.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f7ffd0132121652b85ab5fd49ad4a2423172b182
---

 modules/demux/asf/asf.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/asf/asf.c b/modules/demux/asf/asf.c
index 905b5d7..e442205 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -944,7 +944,7 @@ static int DemuxInit( demux_t *p_demux )
             if( fmt.i_codec == VLC_FOURCC( 'D','V','R',' ') )
             {
                 /* DVR-MS special ASF */
-                fmt.i_codec = VLC_FOURCC( 'm','p','g','2' ) ;
+                fmt.i_codec = VLC_CODEC_MPGV;
                 fmt.b_packetized = false;
             }
 



More information about the vlc-commits mailing list