[FFmpeg-devel] [PATCH] avfilter/avfilter: Don't report deprecated pkt_pos

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Wed Sep 13 22:43:36 EEST 2023


Andreas Rheinhardt:
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
>  libavfilter/avfilter.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
> index 23bf8685e9..ab7782862a 100644
> --- a/libavfilter/avfilter.c
> +++ b/libavfilter/avfilter.c
> @@ -49,10 +49,10 @@ static void tlog_ref(void *ctx, AVFrame *ref, int end)
>  {
>  #ifdef TRACE
>      ff_tlog(ctx,
> -            "ref[%p buf:%p data:%p linesize[%d, %d, %d, %d] pts:%"PRId64" pos:%"PRId64,
> +            "ref[%p buf:%p data:%p linesize[%d, %d, %d, %d] pts:%"PRId64,
>              ref, ref->buf, ref->data[0],
>              ref->linesize[0], ref->linesize[1], ref->linesize[2], ref->linesize[3],
> -            ref->pts, ref->pkt_pos);
> +            ref->pts);
>  
>      if (ref->width) {
>          ff_tlog(ctx, " a:%d/%d s:%dx%d i:%c iskey:%d type:%c",

Will apply this tomorrow unless there are objections.

- Andreas



More information about the ffmpeg-devel mailing list