summaryrefslogtreecommitdiff
path: root/libavformat/rmdec.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2007-11-01 09:02:29 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2007-11-01 09:02:29 +0000
commit83c95cd462b132e6b3a4b5047e3c38bd4e127398 (patch)
treeef493a5c2bb1e0d6015205b73659fdf038abac82 /libavformat/rmdec.c
parent0ac0703107c12bc78ea2853877a38a2a7384789a (diff)
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
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r--libavformat/rmdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index 60778125bf..1b88766654 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -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 {