diff mbox

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

Message ID 20181109053138.4572-7-andreas.rheinhardt@googlemail.com
State Accepted
Headers show

Commit Message

Andreas Rheinhardt Nov. 9, 2018, 5:31 a.m. UTC
The first element of H264RedundantPPSContext is not a pointer to an
AVClass as required.

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

Comments

Michael Niedermayer Nov. 10, 2018, 11:11 p.m. UTC | #1
On Fri, Nov 09, 2018 at 06:31:38AM +0100, Andreas Rheinhardt wrote:
> The first element of H264RedundantPPSContext is not a pointer to an
> AVClass as required.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com>
> ---
>  libavcodec/h264_redundant_pps_bsf.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

will apply

thanks

[...]
diff mbox

Patch

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)