Mercurial > libavformat.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
1304:45a55380918e | 1305:541f4aa12efc |
---|---|
182 }else{ | 182 }else{ |
183 st->codec->codec_type = CODEC_TYPE_VIDEO; | 183 st->codec->codec_type = CODEC_TYPE_VIDEO; |
184 switch(flags & 0xF){ | 184 switch(flags & 0xF){ |
185 case 2: st->codec->codec_id = CODEC_ID_FLV1; break; | 185 case 2: st->codec->codec_id = CODEC_ID_FLV1; break; |
186 case 3: st->codec->codec_id = CODEC_ID_FLASHSV; break; | 186 case 3: st->codec->codec_id = CODEC_ID_FLASHSV; break; |
187 case 4: | |
188 st->codec->codec_id = CODEC_ID_VP6F; | |
189 get_byte(&s->pb); /* width and height adjustment */ | |
190 size--; | |
191 break; | |
187 default: | 192 default: |
188 av_log(s, AV_LOG_INFO, "Unsupported video codec (%x)\n", flags & 0xf); | 193 av_log(s, AV_LOG_INFO, "Unsupported video codec (%x)\n", flags & 0xf); |
189 st->codec->codec_tag= flags & 0xF; | 194 st->codec->codec_tag= flags & 0xF; |
190 } | 195 } |
191 } | 196 } |