summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 6ef0b25f28..424b550788 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1743,7 +1743,7 @@ static int video_thread(void *arg)
#if CONFIG_AVFILTER
ret = output_picture2(is, frame, pts, -1); /* fixme: unknown pos */
#else
- ret = output_picture2(is, frame, pts, pkt->pos);
+ ret = output_picture2(is, frame, pts, pkt.pos);
av_free_packet(&pkt);
#endif
if (ret < 0)