diff --git a/ffplay.c b/ffplay.c
index 6ef0b25f2862e92b67ea1532922123d5347e5633..424b5507882e05fcacf9b4fa4314218d249dbfe6 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)