diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-12-05 20:27:04 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-05 20:27:04 +0100 |
commit | b0ae362a21bb3f235c4b2cf6c7abc892fa1fbecd (patch) | |
tree | 02fde5a2d6e403b703dc792ce54ca78cb2ce8270 /libavcodec/golomb.h | |
parent | c99e5191ab846d4897dfc565ba446ec960e04aa9 (diff) | |
download | ffmpeg-b0ae362a21bb3f235c4b2cf6c7abc892fa1fbecd.tar.gz |
avcodec/golomb: use NULL for pointers instead of 0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/golomb.h')
-rw-r--r-- | libavcodec/golomb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/golomb.h b/libavcodec/golomb.h index 81d8aeef9e..c4b1354265 100644 --- a/libavcodec/golomb.h +++ b/libavcodec/golomb.h @@ -69,7 +69,7 @@ static inline int get_ue_golomb(GetBitContext *gb) LAST_SKIP_BITS(re, gb, 32 - log); CLOSE_READER(re, gb); if (CONFIG_FTRAPV && log < 0) { - av_log(0, AV_LOG_ERROR, "Invalid UE golomb code\n"); + av_log(NULL, AV_LOG_ERROR, "Invalid UE golomb code\n"); return AVERROR_INVALIDDATA; } buf >>= log; |