1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-01 03:40:43 +00:00

Use MSZH and ZLIB decoders from libavcodec

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11785 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rtognimp 2004-01-12 22:48:03 +00:00
parent 0a29f9acde
commit 2e7229ae12
3 changed files with 22 additions and 1 deletions

3
configure vendored
View File

@ -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

View File

@ -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

View File

@ -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);