aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xconfigure3
-rw-r--r--etc/codecs.conf16
-rw-r--r--libmpcodecs/vd_ffmpeg.c4
3 files changed, 22 insertions, 1 deletions
diff --git a/configure b/configure
index 3a8c5d8f15..a88ad192bf 100755
--- a/configure
+++ b/configure
@@ -6131,6 +6131,9 @@ $_def_kstat
/* Define this if you have zlib */
$_def_zlib
+#ifdef HAVE_ZLIB
+#define CONFIG_ZLIB
+#endif
/* Define this if you have shm support */
$_def_shm
diff --git a/etc/codecs.conf b/etc/codecs.conf
index 9771ef4642..e36fa318e3 100644
--- a/etc/codecs.conf
+++ b/etc/codecs.conf
@@ -258,6 +258,22 @@ videocodec cvid
out YUY2
out BGR32,BGR24
+videocodec ffmszh
+ info "AVImszh (native codec)"
+ status working
+ fourcc MSZH
+ driver ffmpeg
+ dll "mszh"
+ out BGR24
+
+videocodec ffzlib
+ info "AVIzlib (native codec)"
+ status working
+ fourcc ZLIB
+ driver ffmpeg
+ dll "zlib"
+ out BGR24
+
videocodec mpmszh
info "AVImszh (native codec)"
status working
diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c
index b8972b9eb4..184626a740 100644
--- a/libmpcodecs/vd_ffmpeg.c
+++ b/libmpcodecs/vd_ffmpeg.c
@@ -285,7 +285,9 @@ static int init(sh_video_t *sh){
sh->format == mmioFOURCC('W','M','V','2') ||
sh->format == mmioFOURCC('A','S','V','1') ||
sh->format == mmioFOURCC('A','S','V','2') ||
- sh->format == mmioFOURCC('V','S','S','H')
+ sh->format == mmioFOURCC('V','S','S','H') ||
+ sh->format == mmioFOURCC('M','S','Z','H') ||
+ sh->format == mmioFOURCC('Z','L','I','B')
))
{
avctx->extradata_size = sh->bih->biSize-sizeof(BITMAPINFOHEADER);