Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2018-12-31 23:32:37 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2019-01-01 23:11:47 +0300
commit1dcb5b7dca2bbaa7e2dfa062c0941f5509c238f4 (patch)
treee870055f6aa8793f867a2ad56b98e81bf8a798b2 /libavcodec/bfi.c
parentb89fc3d01b8ed586acbf69e520f748710c85347f (diff)
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>
Diffstat (limited to 'libavcodec/bfi.c')
-rw-r--r--libavcodec/bfi.c2
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];