Commit 897af3cc authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Support for VP50 and Speex in NSV.

parent 29a015e0
...@@ -472,9 +472,14 @@ static int ReadNSVs( demux_t *p_demux ) ...@@ -472,9 +472,14 @@ static int ReadNSVs( demux_t *p_demux )
switch( ( fcc = VLC_FOURCC( header[4], header[5], header[6], header[7] ) ) ) switch( ( fcc = VLC_FOURCC( header[4], header[5], header[6], header[7] ) ) )
{ {
case VLC_FOURCC( 'V', 'P', '3', ' ' ): case VLC_FOURCC( 'V', 'P', '3', ' ' ):
case VLC_FOURCC( 'V', 'P', '3', '0' ):
case VLC_FOURCC( 'V', 'P', '3', '1' ): case VLC_FOURCC( 'V', 'P', '3', '1' ):
fcc = VLC_FOURCC( 'V', 'P', '3', '1' ); fcc = VLC_FOURCC( 'V', 'P', '3', '1' );
break; 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', '0' ):
case VLC_FOURCC( 'V', 'P', '6', '1' ): case VLC_FOURCC( 'V', 'P', '6', '1' ):
case VLC_FOURCC( 'V', 'P', '6', '2' ): case VLC_FOURCC( 'V', 'P', '6', '2' ):
...@@ -515,6 +520,9 @@ static int ReadNSVs( demux_t *p_demux ) ...@@ -515,6 +520,9 @@ static int ReadNSVs( demux_t *p_demux )
case VLC_FOURCC( 'A', 'A', 'C', 'P' ): case VLC_FOURCC( 'A', 'A', 'C', 'P' ):
fcc = VLC_FOURCC( 'm', 'p', '4', 'a' ); fcc = VLC_FOURCC( 'm', 'p', '4', 'a' );
break; break;
case VLC_FOURCC( 'S', 'P', 'X', ' ' ):
fcc = VLC_FOURCC( 's', 'p', 'x', ' ' );
break;
case VLC_FOURCC( 'N', 'O', 'N', 'E' ): case VLC_FOURCC( 'N', 'O', 'N', 'E' ):
break; break;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment