Revert get_num() to old behaviour in order to handle

incorrect RMs generated by lavf muxer.

Originally committed as revision 10892 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Kostya Shishkov 2007-11-01 09:02:29 +00:00
parent 0ac0703107
commit 83c95cd462

View File

@ -366,7 +366,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 {