aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-06-10 18:20:40 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-06-19 16:44:35 +0200
commitd5761fe47d7dd8f02f7ded0afdae54512e09fd9f (patch)
treec6959d527bbcf668701ede9b32c954a82bb80716 /libavfilter
parent208c5a08da32916b5f0e078008341bb0a69c8609 (diff)
downloadffmpeg-d5761fe47d7dd8f02f7ded0afdae54512e09fd9f.tar.gz
lavfi/avcodec: copy pos field from AVFilterBuffer to AVFrame pkt_pos
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/avcodec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/avcodec.c b/libavfilter/avcodec.c
index f6e25bdc30..d6cd4d1f9d 100644
--- a/libavfilter/avcodec.c
+++ b/libavfilter/avcodec.c
@@ -93,6 +93,7 @@ int avfilter_copy_buf_props(AVFrame *dst, const AVFilterBufferRef *src)
memcpy(dst->linesize, src->linesize, sizeof(dst->linesize));
dst->pts = src->pts;
+ dst->pkt_pos = src->pos;
dst->format = src->format;
switch (src->type) {