[FFmpeg-cvslog] r10420 - trunk/libavformat/rmdec.c
kostya
subversion
Thu Sep 6 05:36:38 CEST 2007
Author: kostya
Date: Thu Sep 6 05:36:38 2007
New Revision: 10420
Log:
Set correct length for last slice in frame subpacket
Modified:
trunk/libavformat/rmdec.c
Modified: trunk/libavformat/rmdec.c
==============================================================================
--- trunk/libavformat/rmdec.c (original)
+++ trunk/libavformat/rmdec.c Thu Sep 6 05:36:38 2007
@@ -510,6 +510,8 @@ resync:
rm->current_stream= st->id;
// av_log(NULL, AV_LOG_DEBUG, "%X len:%d pos:%d len2:%d pic_num:%d\n",h, len, pos, len2, pic_num);
+ if((h & 0xc0) == 0x80)
+ len=pos;
if(len2 && len2<len)
len=len2;
rm->remaining_len-= len;
More information about the ffmpeg-cvslog
mailing list