Showing the changes to libavfilter/buffer.c (1 of 2 files). Show all
Unified · Split
| @@ -166,7 +166,7 @@ void avfilter_unref_bufferp(AVFilterBufferRef **ref) · 165 unmodified lines | ||
| 166 | 166 | int avfilter_copy_frame_props(AVFilterBufferRef *dst, const AVFrame *src) |
| 167 | 167 | { |
| 168 | 168 | dst->pts = src->pts; |
| 169 | − dst->pos = src->pkt_pos; | |
| 169 | + dst->pos = av_frame_get_pkt_pos(src); | |
| 170 | 170 | dst->format = src->format; |
| 171 | 171 | |
| 172 | 172 | switch (dst->type) { |