lavfi: use getter/setter functions for AVFrame.pkt_pos

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2012-05-28 23:43:51 +02:00
parent ea60a11e8e
commit 59a78290b6
2 changed files with 3 additions and 3 deletions

View File

@@ -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) {