From 231dd3f32747bc9f3a53490d37d6c0fb41104422 Mon Sep 17 00:00:00 2001 From: Fabrice Bellard Date: Mon, 18 Nov 2002 17:33:03 +0000 Subject: [PATCH] now raw mpeg4 video decoding is fully supported Originally committed as revision 1224 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libav/raw.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libav/raw.c b/libav/raw.c index 6418ec5fa6..518206ea56 100644 --- a/libav/raw.c +++ b/libav/raw.c @@ -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;