changeset 1101:c4ad0ac3f999 libavformat

Flash Screen Video decoder (fourcc:FSV1)
author banan
date Thu, 01 Jun 2006 07:31:59 +0000
parents d4793a811695
children 97f5988fe362
files avienc.c flvdec.c
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/avienc.c	Tue May 30 13:04:18 2006 +0000
+++ b/avienc.c	Thu Jun 01 07:31:59 2006 +0000
@@ -184,6 +184,7 @@
     { CODEC_ID_SNOW, MKTAG('S', 'N', 'O', 'W') },
     { CODEC_ID_4XM, MKTAG('4', 'X', 'M', 'V') },
     { CODEC_ID_FLV1, MKTAG('F', 'L', 'V', '1') },
+    { CODEC_ID_FLASHSV, MKTAG('F', 'S', 'V', '1') },
     { CODEC_ID_SVQ1, MKTAG('s', 'v', 'q', '1') },
     { CODEC_ID_TSCC, MKTAG('t', 's', 'c', 'c') },
     { CODEC_ID_ULTI, MKTAG('U', 'L', 'T', 'I') },
--- a/flvdec.c	Tue May 30 13:04:18 2006 +0000
+++ b/flvdec.c	Thu Jun 01 07:31:59 2006 +0000
@@ -183,6 +183,7 @@
             st->codec->codec_type = CODEC_TYPE_VIDEO;
             switch(flags & 0xF){
             case 2: st->codec->codec_id = CODEC_ID_FLV1; break;
+            case 3: st->codec->codec_id = CODEC_ID_FLASHSV; break;
             default:
                     av_log(s, AV_LOG_INFO, "Unsupported video codec (%x)\n", flags & 0xf);
                 st->codec->codec_tag= flags & 0xF;