[vlc-devel] commit: Support for VP50 and Speex in NSV. (Jean-Baptiste Kempf )

git version control git at videolan.org
Mon Apr 20 17:20:33 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Apr 20 17:17:12 2009 +0200| [897af3cc6440eec5d238ddf6799086681c6e8ed5] | committer: Jean-Baptiste Kempf 

Support for VP50 and Speex in NSV.

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

 modules/demux/nsv.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/modules/demux/nsv.c b/modules/demux/nsv.c
index 3489053..087eae6 100644
--- a/modules/demux/nsv.c
+++ b/modules/demux/nsv.c
@@ -472,9 +472,14 @@ static int ReadNSVs( demux_t *p_demux )
     switch( ( fcc = VLC_FOURCC( header[4], header[5], header[6], header[7] ) ) )
     {
         case VLC_FOURCC( 'V', 'P', '3', ' ' ):
+        case VLC_FOURCC( 'V', 'P', '3', '0' ):
         case VLC_FOURCC( 'V', 'P', '3', '1' ):
             fcc = VLC_FOURCC( 'V', 'P', '3', '1' );
             break;
+        case VLC_FOURCC( 'V', 'P', '5', ' ' ):
+        case VLC_FOURCC( 'V', 'P', '5', '0' ):
+            fcc = VLC_FOURCC( 'V', 'P', '5', '0' );
+            break;
         case VLC_FOURCC( 'V', 'P', '6', '0' ):
         case VLC_FOURCC( 'V', 'P', '6', '1' ):
         case VLC_FOURCC( 'V', 'P', '6', '2' ):
@@ -515,6 +520,9 @@ static int ReadNSVs( demux_t *p_demux )
         case VLC_FOURCC( 'A', 'A', 'C', 'P' ):
             fcc = VLC_FOURCC( 'm', 'p', '4', 'a' );
             break;
+        case VLC_FOURCC( 'S', 'P', 'X', ' ' ):
+            fcc = VLC_FOURCC( 's', 'p', 'x', ' ' );
+            break;
         case VLC_FOURCC( 'N', 'O', 'N', 'E' ):
             break;
         default:




More information about the vlc-devel mailing list