diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2006-09-09 17:19:37 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2006-09-09 17:19:37 +0000 |
commit | 5ce117c37c9b1ff5ed121f372e972e9eb3d83d23 (patch) | |
tree | a4683c31766798c4744296327234feb443c3ede7 /libavformat/flvdec.c | |
parent | 34a8dcd031d637273cdea021e5a79cf720c4c51c (diff) | |
download | ffmpeg-5ce117c37c9b1ff5ed121f372e972e9eb3d83d23.tar.gz |
VP5 and VP6 video decoder
Originally committed as revision 6213 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/flvdec.c')
-rw-r--r-- | libavformat/flvdec.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index d234f54711..0746fffcfe 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -184,6 +184,11 @@ static int flv_read_packet(AVFormatContext *s, AVPacket *pkt) switch(flags & 0xF){ case 2: st->codec->codec_id = CODEC_ID_FLV1; break; case 3: st->codec->codec_id = CODEC_ID_FLASHSV; break; + case 4: + st->codec->codec_id = CODEC_ID_VP6F; + get_byte(&s->pb); /* width and height adjustment */ + size--; + break; default: av_log(s, AV_LOG_INFO, "Unsupported video codec (%x)\n", flags & 0xf); st->codec->codec_tag= flags & 0xF; |