[FFmpeg-devel] [PATCH 6/6] h264_redundant_pps: Fix logging context

Andreas Rheinhardt andreas.rheinhardt at googlemail.com
Fri Nov 9 07:31:38 EET 2018


The first element of H264RedundantPPSContext is not a pointer to an
AVClass as required.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at googlemail.com>
---
 libavcodec/h264_redundant_pps_bsf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/h264_redundant_pps_bsf.c b/libavcodec/h264_redundant_pps_bsf.c
index 059eb4d2a7..aee245b887 100644
--- a/libavcodec/h264_redundant_pps_bsf.c
+++ b/libavcodec/h264_redundant_pps_bsf.c
@@ -102,7 +102,7 @@ static int h264_redundant_pps_filter(AVBSFContext *bsf, AVPacket *out)
             if (err < 0)
                 goto fail;
             if (!au_has_sps) {
-                av_log(ctx, AV_LOG_VERBOSE, "Deleting redundant PPS "
+                av_log(bsf, AV_LOG_VERBOSE, "Deleting redundant PPS "
                        "at %"PRId64".\n", in->pts);
                 err = ff_cbs_delete_unit(ctx->input, au, i);
                 if (err < 0)
-- 
2.19.0



More information about the ffmpeg-devel mailing list