diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-04-12 13:42:09 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-04-14 17:45:38 +0200 |
commit | 7a0cb74fee3235d1cda1d74fdc3850f2ec664b75 (patch) | |
tree | 2cf56d3ff7bdf75c340088da430f5cdb6a14f4a1 /libavcodec/libxvid_rc.c | |
parent | dac79c273748f430b962ef83e46548a4fc0ce5c9 (diff) | |
download | ffmpeg-7a0cb74fee3235d1cda1d74fdc3850f2ec664b75.tar.gz |
libxvid: drop some pointless dead code
Diffstat (limited to 'libavcodec/libxvid_rc.c')
-rw-r--r-- | libavcodec/libxvid_rc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/libxvid_rc.c b/libavcodec/libxvid_rc.c index 4cb832fb4a..c830767058 100644 --- a/libavcodec/libxvid_rc.c +++ b/libavcodec/libxvid_rc.c @@ -30,16 +30,12 @@ #undef NDEBUG #include <assert.h> -extern unsigned int xvid_debug; - int ff_xvid_rate_control_init(MpegEncContext *s){ char *tmp_name; int fd, i; xvid_plg_create_t xvid_plg_create = { 0 }; xvid_plugin_2pass2_t xvid_2pass2 = { 0 }; -//xvid_debug=-1; - fd=ff_tempfile("xvidrc.", &tmp_name); if (fd == -1) { av_log(NULL, AV_LOG_ERROR, "Can't create temporary pass2 file.\n"); @@ -57,7 +53,6 @@ int ff_xvid_rate_control_init(MpegEncContext *s){ frame_types[rce->pict_type], (int)lrintf(rce->qscale / FF_QP2LAMBDA), rce->i_count, s->mb_num - rce->i_count - rce->skip_count, rce->skip_count, (rce->i_tex_bits + rce->p_tex_bits + rce->misc_bits+7)/8, (rce->header_bits+rce->mv_bits+7)/8); -//av_log(NULL, AV_LOG_ERROR, "%s\n", tmp); write(fd, tmp, strlen(tmp)); } |