[MPlayer-cvslog] r34651 - trunk/libmpcodecs/ad_ffmpeg.c
reimar
subversion at mplayerhq.hu
Fri Feb 3 21:33:32 CET 2012
Author: reimar
Date: Fri Feb 3 21:33:32 2012
New Revision: 34651
Log:
Fix format string for -a52drc option.
Modified:
trunk/libmpcodecs/ad_ffmpeg.c
Modified: trunk/libmpcodecs/ad_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/ad_ffmpeg.c Fri Feb 3 15:31:59 2012 (r34650)
+++ trunk/libmpcodecs/ad_ffmpeg.c Fri Feb 3 21:33:32 2012 (r34651)
@@ -106,7 +106,7 @@ static int init(sh_audio_t *sh_audio)
lavc_context = avcodec_alloc_context3(lavc_codec);
sh_audio->context=lavc_context;
- snprintf(tmpstr, sizeof(tmpstr), "%i", drc_level);
+ snprintf(tmpstr, sizeof(tmpstr), "%f", drc_level);
av_dict_set(&opts, "drc_scale", tmpstr, 0);
lavc_context->sample_rate = sh_audio->samplerate;
lavc_context->bit_rate = sh_audio->i_bps * 8;
More information about the MPlayer-cvslog
mailing list