diff options
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) { |