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:
e29378f
)
1000l: Fix check for max slice number
author
Roberto Togni
<r_togni@tiscali.it>
Thu, 15 Nov 2007 21:13:36 +0000
(21:13 +0000)
committer
Roberto Togni
<r_togni@tiscali.it>
Thu, 15 Nov 2007 21:13:36 +0000
(21:13 +0000)
Originally committed as revision 11040 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rmdec.c
patch
|
blob
|
history
diff --git
a/libavformat/rmdec.c
b/libavformat/rmdec.c
index
aebfead
..
6027e31
100644
(file)
--- a/
libavformat/rmdec.c
+++ b/
libavformat/rmdec.c
@@
-507,7
+507,7
@@
static int rm_assemble_video_frame(AVFormatContext *s, RMContext *rm, AVPacket *
pos = len2 - pos;
}
- if(++rm->cur_slice > rm->
cur_slice
)
+ if(++rm->cur_slice > rm->
slices
)
return 1;
AV_WL32(rm->videobuf - 7 + 8*rm->cur_slice, 1);
AV_WL32(rm->videobuf - 3 + 8*rm->cur_slice, rm->videobufpos - 8*rm->slices - 1);