avcodec/golomb: use NULL for pointers instead of 0
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 5 Dec 2014 19:27:04 +0000 (20:27 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 5 Dec 2014 19:27:04 +0000 (20:27 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/golomb.h

index 81d8aee..c4b1354 100644 (file)
@@ -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;