[FFmpeg-cvslog] avcodec/golomb: use NULL for pointers instead of 0

Michael Niedermayer git at videolan.org
Fri Dec 5 21:26:47 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Dec  5 20:27:04 2014 +0100| [b0ae362a21bb3f235c4b2cf6c7abc892fa1fbecd] | committer: Michael Niedermayer

avcodec/golomb: use NULL for pointers instead of 0

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b0ae362a21bb3f235c4b2cf6c7abc892fa1fbecd
---

 libavcodec/golomb.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/golomb.h b/libavcodec/golomb.h
index 81d8aee..c4b1354 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;



More information about the ffmpeg-cvslog mailing list