OSDN Git Service

Remove an assert that was no longer correct nor relevant
authorMartin Storsjö <martin@martin.st>
Tue, 20 Jul 2010 09:58:30 +0000 (09:58 +0000)
committerMartin Storsjö <martin@martin.st>
Tue, 20 Jul 2010 09:58:30 +0000 (09:58 +0000)
Originally committed as revision 24344 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/aviobuf.c

index f311d51..31ce64e 100644 (file)
@@ -328,8 +328,6 @@ static void fill_buffer(ByteIOContext *s)
     int len= s->buffer_size - (dst - s->buffer);
     int max_buffer_size = s->max_packet_size ? s->max_packet_size : IO_BUFFER_SIZE;
 
-    assert(s->buf_ptr == s->buf_end);
-
     /* no need to do anything if EOF already reached */
     if (s->eof_reached)
         return;