diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2002-11-18 17:33:03 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2002-11-18 17:33:03 +0000 |
commit | 231dd3f32747bc9f3a53490d37d6c0fb41104422 (patch) | |
tree | eb5c6877d7e12ebf84b8bb4105da4567567c8e98 /libav/raw.c | |
parent | 93ced3e81a7672210b0252fd80e3a182e58e2d47 (diff) | |
download | ffmpeg-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.c | 5 |
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; |