Mercurial > mplayer.hg
diff libmpcodecs/vd_ffmpeg.c @ 7984:a57c1fc0c2fc
change qscale type to int8 and fix qscale ordering
author | michael |
---|---|
date | Wed, 30 Oct 2002 20:50:33 +0000 |
parents | 31fd09cc9ba2 |
children | a3e7c0e16d5b |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Wed Oct 30 19:26:05 2002 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Wed Oct 30 20:50:33 2002 +0000 @@ -619,16 +619,9 @@ } /* to comfirm with newer lavc style */ -#if !defined(FF_POSTPROCESS) && (LIBAVCODEC_BUILD > 4612) - mpi->qscale=avctx->quant_store; -#if LIBAVCODEC_BUILD > 4613 +#if LIBAVCODEC_BUILD >= 4633 + mpi->qscale=avctx->display_qscale_table; mpi->qstride=avctx->qstride; -#else - mpi->qstride=MBC+1; -#endif -#elif defined(FF_POSTPROCESS) - mpi->qscale=&quant_store[0][0]; - mpi->qstride=MBC+1; #endif {