summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_lavc.c
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-04 11:53:47 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-04 11:53:47 +0000
commit32f03d20303770f91612277ef81d34d0f442c0b3 (patch)
tree736f23da33945c83bb9086d34298f0f9404a4403 /libmpcodecs/vf_lavc.c
parentad05ae27cbf9f3b2a033ab8a0acb0507fa0b5a34 (diff)
downloadmpv-32f03d20303770f91612277ef81d34d0f442c0b3.tar.bz2
mpv-32f03d20303770f91612277ef81d34d0f442c0b3.tar.xz
cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8341 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf_lavc.c')
-rw-r--r--libmpcodecs/vf_lavc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libmpcodecs/vf_lavc.c b/libmpcodecs/vf_lavc.c
index b3bf8b85f6..fe47c8f90c 100644
--- a/libmpcodecs/vf_lavc.c
+++ b/libmpcodecs/vf_lavc.c
@@ -22,7 +22,7 @@
#endif
#if LIBAVCODEC_BUILD < 4641
-#error your version of libavcodec is too old, get a newer one, and dont send a bugreport, THIS IS NO BUG
+#error we dont support libavcodec prior to build 4641, get the latest libavcodec CVS
#endif
extern int avcodec_inited;
@@ -156,11 +156,7 @@ static int open(vf_instance_t *vf, char* args){
if(p_quality<32){
// fixed qscale
lavc_venc_context.flags = CODEC_FLAG_QSCALE;
-#if LIBAVCODEC_BUILD >= 4641
vf->priv->pic->quality = (p_quality<1) ? 1 : p_quality;
-#else
- lavc_venc_context.quality = (p_quality<1) ? 1 : p_quality;
-#endif
} else {
// fixed bitrate (in kbits)
lavc_venc_context.bit_rate = 1000*p_quality;