diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-12-31 21:32:37 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-01-01 21:11:47 +0100 |
commit | 1dcb5b7dca2bbaa7e2dfa062c0941f5509c238f4 (patch) | |
tree | e870055f6aa8793f867a2ad56b98e81bf8a798b2 | |
parent | b89fc3d01b8ed586acbf69e520f748710c85347f (diff) | |
download | ffmpeg-1dcb5b7dca2bbaa7e2dfa062c0941f5509c238f4.tar.gz |
avcodec/bfi: Provide non NULL context to av_log()
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/bfi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bfi.c b/libavcodec/bfi.c index 233a1d27a8..a4cb002053 100644 --- a/libavcodec/bfi.c +++ b/libavcodec/bfi.c @@ -71,7 +71,7 @@ static int bfi_decode_frame(AVCodecContext *avctx, void *data, frame->key_frame = 1; /* Setting the palette */ if (avctx->extradata_size > 768) { - av_log(NULL, AV_LOG_ERROR, "Palette is too large.\n"); + av_log(avctx, AV_LOG_ERROR, "Palette is too large.\n"); return AVERROR_INVALIDDATA; } pal = (uint32_t *)frame->data[1]; |