Make X264_init() no longer assign avctx->rc_eq to libx264's context.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Fri, 29 Aug 2008 17:37:32 +0000 (17:37 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Fri, 29 Aug 2008 17:37:32 +0000 (17:37 +0000)
commitd4be08e0c9fc9ed2862e952a489ef6a8943b5e5d
tree4898dd2528dc4eeab916d3f13240527449b0b0f2
parent77b0443544fd5f5c3f974b7a4fa4f2f18f7ba8df
Make X264_init() no longer assign avctx->rc_eq to libx264's context.
Fix a crash due to X264_init() setting the libx264 rc_eq field to NULL
when rc_eq was not defined. As a consequence rc_eq can no longer be
manually specified and passed to libx264, but this option is going to
be removed from the libx264 public API anyway.

See the thread: "Fix crash in libx264 when rc_eq is not set".

Originally committed as revision 15029 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/libx264.c