diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2007-11-01 09:02:29 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2007-11-01 09:02:29 +0000 |
commit | 83c95cd462b132e6b3a4b5047e3c38bd4e127398 (patch) | |
tree | ef493a5c2bb1e0d6015205b73659fdf038abac82 /libavformat/rmdec.c | |
parent | 0ac0703107c12bc78ea2853877a38a2a7384789a (diff) | |
download | ffmpeg-streaming-83c95cd462b132e6b3a4b5047e3c38bd4e127398.zip ffmpeg-streaming-83c95cd462b132e6b3a4b5047e3c38bd4e127398.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index 6077812..1b88766 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 { |