diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-05-28 23:43:51 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-28 23:45:17 +0200 |
commit | 59a78290b6fee4b52a28a43440dff6880d3102c2 (patch) | |
tree | 35f3513f229f3a92beac7a9b9b7c973ed6e0afd4 /libavfilter/buffer.c | |
parent | ea60a11e8e2d818e8e56da4da3ff38e23a12bdff (diff) | |
download | ffmpeg-59a78290b6fee4b52a28a43440dff6880d3102c2.tar.gz |
lavfi: use getter/setter functions for AVFrame.pkt_pos
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/buffer.c')
-rw-r--r-- | libavfilter/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |