mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
h264_redundant_pps: Fix logging context
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>
(cherry picked from commit 6dafcb6fdb
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
92382748e4
commit
5bdc1e51fd
@ -90,7 +90,7 @@ static int h264_redundant_pps_filter(AVBSFContext *bsf, AVPacket *out)
|
|||||||
if (nal->type == H264_NAL_PPS) {
|
if (nal->type == H264_NAL_PPS) {
|
||||||
h264_redundant_pps_fixup_pps(ctx, nal->content);
|
h264_redundant_pps_fixup_pps(ctx, nal->content);
|
||||||
if (!au_has_sps) {
|
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);
|
"at %"PRId64".\n", in->pts);
|
||||||
ff_cbs_delete_unit(ctx->input, au, i);
|
ff_cbs_delete_unit(ctx->input, au, i);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user