aboutsummaryrefslogtreecommitdiffstats
path: root/libav/raw.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2002-11-18 17:33:03 +0000
committerFabrice Bellard <fabrice@bellard.org>2002-11-18 17:33:03 +0000
commit231dd3f32747bc9f3a53490d37d6c0fb41104422 (patch)
treeeb5c6877d7e12ebf84b8bb4105da4567567c8e98 /libav/raw.c
parent93ced3e81a7672210b0252fd80e3a182e58e2d47 (diff)
downloadffmpeg-231dd3f32747bc9f3a53490d37d6c0fb41104422.tar.gz
now raw mpeg4 video decoding is fully supported
Originally committed as revision 1224 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav/raw.c')
-rw-r--r--libav/raw.c5
1 files changed, 1 insertions, 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;