summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd_ffmpeg.c
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-30 20:50:33 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-30 20:50:33 +0000
commit31642e274476f8a068e0110675b2ad16b345ec78 (patch)
treebec8990c3a1390298de5a9e89ffc7c15d40d5224 /libmpcodecs/vd_ffmpeg.c
parentd200725e8801ae1afb64f8a5c09f271fcc4d9653 (diff)
downloadmpv-31642e274476f8a068e0110675b2ad16b345ec78.tar.bz2
mpv-31642e274476f8a068e0110675b2ad16b345ec78.tar.xz
change qscale type to int8 and fix qscale ordering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7985 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vd_ffmpeg.c')
-rw-r--r--libmpcodecs/vd_ffmpeg.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c
index 1908089570..595c11a95d 100644
--- a/libmpcodecs/vd_ffmpeg.c
+++ b/libmpcodecs/vd_ffmpeg.c
@@ -619,16 +619,9 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
}
/* 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
{