diff flvdec.c @ 1305:541f4aa12efc libavformat

VP5 and VP6 video decoder
author aurel
date Sat, 09 Sep 2006 17:19:37 +0000
parents d18cc9a1fd02
children defa841523a9
line wrap: on
line diff
--- a/flvdec.c	Sat Sep 09 08:57:55 2006 +0000
+++ b/flvdec.c	Sat Sep 09 17:19:37 2006 +0000
@@ -184,6 +184,11 @@
             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;