Browse Source

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
tags/v0.5
Kostya Shishkov 18 years ago
parent
commit
83c95cd462
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/rmdec.c

+ 1
- 1
libavformat/rmdec.c 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 {


Loading…
Cancel
Save