100l, fix FATE test broken by r18264

Originally committed as revision 18271 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2009-03-31 14:44:46 +00:00
parent 9aaacc246a
commit 3f300d7e25

View 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++;