From 58898b2fadd0d5a9cb138290ee2443c431516f02 Mon Sep 17 00:00:00 2001 From: ranma Date: Sun, 9 Nov 2003 23:32:42 +0000 Subject: [PATCH] Fix build with LIBAVCODEC_BUILD < 4684. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11420 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_lavc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libmpcodecs/vf_lavc.c b/libmpcodecs/vf_lavc.c index f8fb20c30e..cc1420405c 100644 --- a/libmpcodecs/vf_lavc.c +++ b/libmpcodecs/vf_lavc.c @@ -34,6 +34,10 @@ #define coded_frame coded_picture #endif +#if LIBAVCODEC_BUILD < 4684 +#define FF_QP2LAMBDA 1 +#endif + extern int avcodec_inited; struct vf_priv_s {