[FFmpeg-cvslog] r10892 - trunk/libavformat/rmdec.c

kostya subversion
Thu Nov 1 10:02:29 CET 2007


Author: kostya
Date: Thu Nov  1 10:02:29 2007
New Revision: 10892

Log:
Revert get_num() to old behaviour in order to handle
incorrect RMs generated by lavf muxer.


Modified:
   trunk/libavformat/rmdec.c

Modified: trunk/libavformat/rmdec.c
==============================================================================
--- trunk/libavformat/rmdec.c	(original)
+++ trunk/libavformat/rmdec.c	Thu Nov  1 10:02:29 2007
@@ -366,7 +366,7 @@ static int get_num(ByteIOContext *pb, in
 
     n = get_be16(pb);
     (*len)-=2;
-    n &= 0x7FFF;
+//    n &= 0x7FFF;
     if (n >= 0x4000) {
         return n - 0x4000;
     } else {




More information about the ffmpeg-cvslog mailing list