summaryrefslogtreecommitdiff
path: root/libavformat/mxf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/mxf.c')
-rw-r--r--libavformat/mxf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mxf.c b/libavformat/mxf.c
index df369b001b..241e758491 100644
--- a/libavformat/mxf.c
+++ b/libavformat/mxf.c
@@ -363,7 +363,7 @@ static int mxf_read_packet(AVFormatContext *s, AVPacket *pkt)
} else
av_get_packet(&s->pb, pkt, klv.length);
pkt->stream_index = index;
- pkt->pos = klv->offset;
+ pkt->pos = klv.offset;
return 0;
} else
url_fskip(&s->pb, klv.length);