Browse Source

lavfi/avcodec: copy pos field from AVFilterBuffer to AVFrame pkt_pos

tags/n1.0
Stefano Sabatini 13 years ago
parent
commit
d5761fe47d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavfilter/avcodec.c

+ 1
- 0
libavfilter/avcodec.c View 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) {


Loading…
Cancel
Save