Revert r10892, it's wrong and no longer needed to prevent crashes
authorRoberto Togni <r_togni@tiscali.it>
Sun, 2 Dec 2007 17:41:12 +0000 (17:41 +0000)
committerRoberto Togni <r_togni@tiscali.it>
Sun, 2 Dec 2007 17:41:12 +0000 (17:41 +0000)
Originally committed as revision 11127 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rmdec.c

index aa4297a..8af8a05 100644 (file)
@@ -380,7 +380,7 @@ static int get_num(ByteIOContext *pb, int *len)
 
     n = get_be16(pb);
     (*len)-=2;
-//    n &= 0x7FFF;
+    n &= 0x7FFF;
     if (n >= 0x4000) {
         return n - 0x4000;
     } else {