diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index 8af8a05e70..47ddb6d4b7 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -513,7 +513,7 @@ static int rm_assemble_video_frame(AVFormatContext *s, RMContext *rm, AVPacket * return 1; if (get_buffer(pb, rm->videobuf + rm->videobufpos, len) != len) return AVERROR(EIO); - rm->videobufpos += len, + rm->videobufpos += len; rm->remaining_len-= len; if(type == 2 || (rm->videobufpos) == rm->videobufsize){