Commit 6479c482 authored by bellard's avatar bellard

now raw mpeg4 video decoding is fully supported


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1224 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e2db41fc
...@@ -84,10 +84,7 @@ int raw_read_packet(AVFormatContext *s, ...@@ -84,10 +84,7 @@ int raw_read_packet(AVFormatContext *s,
int ret, size; int ret, size;
AVStream *st = s->streams[0]; AVStream *st = s->streams[0];
if(st->codec.codec_id == CODEC_ID_MPEG4) size= RAW_PACKET_SIZE;
size= 1024*1024; //cant handle partial frames
else
size= RAW_PACKET_SIZE;
if (av_new_packet(pkt, size) < 0) if (av_new_packet(pkt, size) < 0)
return -EIO; return -EIO;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment