summaryrefslogtreecommitdiffstats
path: root/libavformat/rmdec.c
diff options
context:
space:
mode:
authorRoberto Togni <r_togni@tiscali.it>2007-12-02 17:41:12 +0000
committerRoberto Togni <r_togni@tiscali.it>2007-12-02 17:41:12 +0000
commite3052ce7b177164da8aecfec065650fa5733e2d1 (patch)
tree378ec7373efad8317e1cec82f6db8a5ff9c84303 /libavformat/rmdec.c
parent56cc85a068870cfa1c3bcc39c7e312b6a0fe8ca3 (diff)
downloadffmpeg-streaming-e3052ce7b177164da8aecfec065650fa5733e2d1.zip
ffmpeg-streaming-e3052ce7b177164da8aecfec065650fa5733e2d1.tar.gz
Revert r10892, it's wrong and no longer needed to prevent crashes
Originally committed as revision 11127 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 aa4297a..8af8a05 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -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 {
OpenPOWER on IntegriCloud