projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56cc85a
)
Revert r10892, it's wrong and no longer needed to prevent crashes
author
Roberto Togni
<r_togni@tiscali.it>
Sun, 2 Dec 2007 17:41:12 +0000
(17:41 +0000)
committer
Roberto Togni
<r_togni@tiscali.it>
Sun, 2 Dec 2007 17:41:12 +0000
(17:41 +0000)
Originally committed as revision 11127 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rmdec.c
patch
|
blob
|
history
diff --git
a/libavformat/rmdec.c
b/libavformat/rmdec.c
index
aa4297a
..
8af8a05
100644
(file)
--- 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 {