100l, fix FATE test broken by r18264
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 31 Mar 2009 14:44:46 +0000 (14:44 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 31 Mar 2009 14:44:46 +0000 (14:44 +0000)
Originally committed as revision 18271 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/interplayvideo.c

index ecf6c19..07f73bb 100644 (file)
@@ -307,7 +307,7 @@ static int ipvideo_decode_block_opcode_0x8(IpvideoContext *s)
         /* need 10 more bytes */
         CHECK_STREAM_PTR(10);
 
-        if (P[2] <= P[3]) {
+        if (s->stream_ptr[4] <= s->stream_ptr[5]) {
 
             B[0] = *s->stream_ptr++;  B[1] = *s->stream_ptr++;
             B[2] = *s->stream_ptr++;  B[3] = *s->stream_ptr++;