typo
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Mon, 26 May 2008 23:59:28 +0000 (23:59 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Mon, 26 May 2008 23:59:28 +0000 (23:59 +0000)
Originally committed as revision 13448 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/ffmdec.c

index 178d808..97cd129 100644 (file)
@@ -119,7 +119,7 @@ static int ffm_read_data(AVFormatContext *s,
                     return 0;
                 }
                 ffm->first_packet = 0;
-                if ((frame_offset & 0x7ffff) < FFM_HEADER_SIZE)
+                if ((frame_offset & 0x7fff) < FFM_HEADER_SIZE)
                     return -1;
                 ffm->packet_ptr = ffm->packet + (frame_offset & 0x7fff) - FFM_HEADER_SIZE;
                 if (!first)