diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-06-01 12:17:30 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-06-01 15:07:20 +0200 |
commit | bde2c1c7fe175c5c857a8d9a8ae05f31ace0b94f (patch) | |
tree | f1906cc900b68412207d9eb2dbd87b446a7880b4 | |
parent | f3aa65af3a84c787b0fa8b8cf0881fc05668a24c (diff) | |
download | ffmpeg-bde2c1c7fe175c5c857a8d9a8ae05f31ace0b94f.tar.gz |
mpegaudiodec: Fix av_dlog() invocation.
Some parameters passed to the av_dlog can be either float or int, depending on
the mode the file is being compiled as. Cast those parameters to float and use
appropriate conversion specifiers.
-rw-r--r-- | libavcodec/mpegaudiodec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c index 6910d1fa4c..033d76e049 100644 --- a/libavcodec/mpegaudiodec.c +++ b/libavcodec/mpegaudiodec.c @@ -406,8 +406,9 @@ static av_cold int decode_init(AVCodecContext * avctx) k = i & 1; is_table_lsf[j][k ^ 1][i] = FIXR(f); is_table_lsf[j][k][i] = FIXR(1.0); - av_dlog(avctx, "is_table_lsf %d %d: %x %x\n", - i, j, is_table_lsf[j][0][i], is_table_lsf[j][1][i]); + av_dlog(avctx, "is_table_lsf %d %d: %f %f\n", + i, j, (float) is_table_lsf[j][0][i], + (float) is_table_lsf[j][1][i]); } } |