now raw mpeg4 video decoding is fully supported
authorFabrice Bellard <fabrice@bellard.org>
Mon, 18 Nov 2002 17:33:03 +0000 (17:33 +0000)
committerFabrice Bellard <fabrice@bellard.org>
Mon, 18 Nov 2002 17:33:03 +0000 (17:33 +0000)
Originally committed as revision 1224 to svn://svn.ffmpeg.org/ffmpeg/trunk

libav/raw.c

index 6418ec5..518206e 100644 (file)
@@ -84,10 +84,7 @@ int raw_read_packet(AVFormatContext *s,
     int ret, size;
     AVStream *st = s->streams[0];
     
-    if(st->codec.codec_id == CODEC_ID_MPEG4)
-        size= 1024*1024; //cant handle partial frames
-    else
-        size= RAW_PACKET_SIZE;
+    size= RAW_PACKET_SIZE;
 
     if (av_new_packet(pkt, size) < 0)
         return -EIO;