Commit b0ae362a authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/golomb: use NULL for pointers instead of 0

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c99e5191
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment