diff mbox series

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

Message ID AS8P250MB074478D5B17A48FEF1EB24158FF2A@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit d0b03b4182752e7e1198108210e70f8bb5a79547
Headers show
Series [FFmpeg-devel] avfilter/avfilter: Don't report deprecated pkt_pos | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt Sept. 11, 2023, 12:35 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavfilter/avfilter.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Andreas Rheinhardt Sept. 13, 2023, 7:43 p.m. UTC | #1
Andreas Rheinhardt:
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@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
diff mbox series

Patch

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",