[vlc-devel] commit: Fixed VP31 in NSV files. (Laurent Aimar )

git version control git at videolan.org
Wed May 6 23:27:58 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed May  6 23:22:28 2009 +0200| [3e1ec376dd2ab91d2c94184bc1f0da0b0072caad] | committer: Laurent Aimar 

Fixed VP31 in NSV files.

It seems that ffmpeg care about VP30 != VP31 fourcc.

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

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

diff --git a/modules/demux/nsv.c b/modules/demux/nsv.c
index 329c717..d8cedd1 100644
--- a/modules/demux/nsv.c
+++ b/modules/demux/nsv.c
@@ -473,9 +473,13 @@ static int ReadNSVs( demux_t *p_demux )
     {
         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', '0' );
             break;
+
+        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' );




More information about the vlc-devel mailing list