From 59a78290b6fee4b52a28a43440dff6880d3102c2 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 28 May 2012 23:43:51 +0200 Subject: lavfi: use getter/setter functions for AVFrame.pkt_pos Signed-off-by: Michael Niedermayer --- libavfilter/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/buffer.c') diff --git a/libavfilter/buffer.c b/libavfilter/buffer.c index b878be518b..9600f6dddd 100644 --- a/libavfilter/buffer.c +++ b/libavfilter/buffer.c @@ -166,7 +166,7 @@ void avfilter_unref_bufferp(AVFilterBufferRef **ref) int avfilter_copy_frame_props(AVFilterBufferRef *dst, const AVFrame *src) { dst->pts = src->pts; - dst->pos = src->pkt_pos; + dst->pos = av_frame_get_pkt_pos(src); dst->format = src->format; switch (dst->type) { -- cgit v1.2.3