[FFmpeg-cvslog] r11040 - trunk/libavformat/rmdec.c
rtogni
subversion
Thu Nov 15 22:13:36 CET 2007
Author: rtogni
Date: Thu Nov 15 22:13:36 2007
New Revision: 11040
Log:
1000l: Fix check for max slice number
Modified:
trunk/libavformat/rmdec.c
Modified: trunk/libavformat/rmdec.c
==============================================================================
--- trunk/libavformat/rmdec.c (original)
+++ trunk/libavformat/rmdec.c Thu Nov 15 22:13:36 2007
@@ -507,7 +507,7 @@ static int rm_assemble_video_frame(AVFor
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);
More information about the ffmpeg-cvslog
mailing list