diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-23 18:10:02 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-23 18:10:02 +0100 |
commit | 0efcf16a3e6ea19abf65e86ef6116dc88892a670 (patch) | |
tree | 02fa96255bc4b6f57fa3c890938cba1df0b0d421 /libavcodec/qdm2.c | |
parent | c322f19855df10f9ceaf3f15a3c0d9d3b78c7279 (diff) | |
download | ffmpeg-0efcf16a3e6ea19abf65e86ef6116dc88892a670.tar.gz |
replace av_log(0, by av_log(NULL,
The first parameter is a pointer and NULL is more correct
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/qdm2.c')
-rw-r--r-- | libavcodec/qdm2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c index 892f96ff37..4cf4b2f932 100644 --- a/libavcodec/qdm2.c +++ b/libavcodec/qdm2.c @@ -347,7 +347,7 @@ static int qdm2_get_vlc (GetBitContext *gb, VLC *vlc, int flag, int depth) int tmp; if (value >= 60) { - av_log(0, AV_LOG_ERROR, "value %d in qdm2_get_vlc too large\n", value); + av_log(NULL, AV_LOG_ERROR, "value %d in qdm2_get_vlc too large\n", value); return 0; } @@ -1360,7 +1360,7 @@ static void qdm2_fft_decode_tones (QDM2Context *q, int duration, GetBitContext * while ((n = qdm2_get_vlc(gb, &vlc_tab_fft_tone_offset[local_int_8], 1, 2)) < 2) { if (get_bits_left(gb)<0) { if(local_int_4 < q->group_size) - av_log(0, AV_LOG_ERROR, "overread in qdm2_fft_decode_tones()\n"); + av_log(NULL, AV_LOG_ERROR, "overread in qdm2_fft_decode_tones()\n"); return; } offset = 1; |