h264_redundant_pps: Fix logging context
authorAndreas Rheinhardt <andreas.rheinhardt@googlemail.com>
Fri, 9 Nov 2018 05:31:38 +0000 (06:31 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 10 Nov 2018 22:47:25 +0000 (23:47 +0100)
The first element of H264RedundantPPSContext is not a pointer to an
AVClass as required.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/h264_redundant_pps_bsf.c

index cc5a306..af247ee 100644 (file)
@@ -91,7 +91,7 @@ static int h264_redundant_pps_filter(AVBSFContext *bsf, AVPacket *out)
         if (nal->type == H264_NAL_PPS) {
             h264_redundant_pps_fixup_pps(ctx, nal->content);
             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);
                 ff_cbs_delete_unit(ctx->input, au, i);
             }