No need to update pos, it's not used after that line
authorRoberto Togni <r_togni@tiscali.it>
Mon, 19 Nov 2007 00:02:03 +0000 (00:02 +0000)
committerRoberto Togni <r_togni@tiscali.it>
Mon, 19 Nov 2007 00:02:03 +0000 (00:02 +0000)
Originally committed as revision 11055 to svn://svn.ffmpeg.org/ffmpeg/trunk

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)