Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-05-29 01:43:51 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-05-29 01:45:17 +0400
commit59a78290b6fee4b52a28a43440dff6880d3102c2 (patch)
tree35f3513f229f3a92beac7a9b9b7c973ed6e0afd4 /libavfilter/buffer.c
parentea60a11e8e2d818e8e56da4da3ff38e23a12bdff (diff)
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.c2
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) {