lavfi/avcodec: copy pos field from AVFilterBuffer to AVFrame pkt_pos
authorStefano Sabatini <stefasab@gmail.com>
Sun, 10 Jun 2012 16:20:40 +0000 (18:20 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Tue, 19 Jun 2012 14:44:35 +0000 (16:44 +0200)
libavfilter/avcodec.c

index f6e25bd..d6cd4d1 100644 (file)
@@ -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) {