[FFmpeg-cvslog] r15029 - trunk/libavcodec/libx264.c
stefano
subversion
Fri Aug 29 19:37:33 CEST 2008
Author: stefano
Date: Fri Aug 29 19:37:32 2008
New Revision: 15029
Log:
Make X264_init() do not set anymore the rc_eq from avctx to the
libx264 context. Fix a crash due to X264_init() setting the libx264
rc_eq field to NULL when rc_eq was not defined.
This patch drops the possibility to set the rc_eq for libx264,
feature which is going to be removed from libx264 either.
See the thread: "Fix crash in libx264 when rc_eq is not set".
Modified:
trunk/libavcodec/libx264.c
Modified: trunk/libavcodec/libx264.c
==============================================================================
--- trunk/libavcodec/libx264.c (original)
+++ trunk/libavcodec/libx264.c Fri Aug 29 19:37:32 2008
@@ -253,7 +253,6 @@ X264_init(AVCodecContext *avctx)
x4->params.rc.f_ip_factor = 1/fabs(avctx->i_quant_factor);
x4->params.rc.f_pb_factor = avctx->b_quant_factor;
x4->params.analyse.i_chroma_qp_offset = avctx->chromaoffset;
- x4->params.rc.psz_rc_eq = avctx->rc_eq;
x4->params.analyse.b_psnr = avctx->flags & CODEC_FLAG_PSNR;
x4->params.i_log_level = X264_LOG_DEBUG;
More information about the ffmpeg-cvslog
mailing list