No need to update pos, it's not used after that line
[libav.git] / libavformat / rmdec.c
index 5c36aa5..69660ed 100644 (file)
@@ -503,7 +503,6 @@ static int rm_assemble_video_frame(AVFormatContext *s, RMContext *rm, AVPacket *
     }
     if(type == 2){
         len = FFMIN(len, pos);
-        pos = len2 - pos;
     }
 
     if(++rm->cur_slice > rm->slices)