diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-06-02 22:55:51 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-06-03 00:44:03 +0200 |
commit | 2366462429d9cc7ed9715c037f204fcefeff8ea4 (patch) | |
tree | e216d1cb8646b081d98d4eb71ffcdfbf422ef9a6 /libavcodec/vorbisdec.c | |
parent | df96f22d8f2b0b40d5511cde1c4cbb4a6f824c32 (diff) | |
download | ffmpeg-2366462429d9cc7ed9715c037f204fcefeff8ea4.tar.gz |
Replace #ifdef + av_log() combinations by av_dlog().
Diffstat (limited to 'libavcodec/vorbisdec.c')
-rw-r--r-- | libavcodec/vorbisdec.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/libavcodec/vorbisdec.c b/libavcodec/vorbisdec.c index c758a440ed..0c1850c814 100644 --- a/libavcodec/vorbisdec.c +++ b/libavcodec/vorbisdec.c @@ -370,9 +370,7 @@ static int vorbis_parse_setup_hdr_codebooks(vorbis_context *vc) float last = 0.0; unsigned lookup_offset = i; -#ifdef V_DEBUG - av_log(vc->avccontext, AV_LOG_INFO, "Lookup offset %u ,", i); -#endif + av_dlog(vc->avccontext, "Lookup offset %u ,", i); for (k = 0; k < dim; ++k) { unsigned multiplicand_offset = lookup_offset % codebook_lookup_values; @@ -383,12 +381,11 @@ static int vorbis_parse_setup_hdr_codebooks(vorbis_context *vc) } tmp_vlc_bits[j] = tmp_vlc_bits[i]; -#ifdef V_DEBUG - av_log(vc->avccontext, AV_LOG_INFO, "real lookup offset %u, vector: ", j); + av_dlog(vc->avccontext, "real lookup offset %u, vector: ", j); for (k = 0; k < dim; ++k) - av_log(vc->avccontext, AV_LOG_INFO, " %f ", codebook_setup->codevectors[j * dim + k]); - av_log(vc->avccontext, AV_LOG_INFO, "\n"); -#endif + av_dlog(vc->avccontext, " %f ", + codebook_setup->codevectors[j * dim + k]); + av_dlog(vc->avccontext, "\n"); ++j; } |