summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/codecs.conf8
-rw-r--r--libmpcodecs/vd_ffmpeg.c3
2 files changed, 10 insertions, 1 deletions
diff --git a/etc/codecs.conf b/etc/codecs.conf
index e36fa318e3..2950026e5f 100644
--- a/etc/codecs.conf
+++ b/etc/codecs.conf
@@ -118,6 +118,14 @@ videocodec ffindeo3
dll indeo3
out YVU9
+videocodec fffli
+ info "Autodesk FLI/FLC Animation"
+ status working
+ fourcc FLIC ; FLIC is an internal MPlayer FOURCC
+ driver ffmpeg
+ dll "flic"
+ out BGR8
+
videocodec fli
info "Autodesk FLI/FLC Animation"
status working
diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c
index 184626a740..b30589b27f 100644
--- a/libmpcodecs/vd_ffmpeg.c
+++ b/libmpcodecs/vd_ffmpeg.c
@@ -287,7 +287,8 @@ static int init(sh_video_t *sh){
sh->format == mmioFOURCC('A','S','V','2') ||
sh->format == mmioFOURCC('V','S','S','H') ||
sh->format == mmioFOURCC('M','S','Z','H') ||
- sh->format == mmioFOURCC('Z','L','I','B')
+ sh->format == mmioFOURCC('Z','L','I','B') ||
+ sh->format == mmioFOURCC('F','L','I','C')
))
{
avctx->extradata_size = sh->bih->biSize-sizeof(BITMAPINFOHEADER);