diff --git a/ffplay.c b/ffplay.c
index 52365f3bdd17d77c75ed2e231ff5a6d713ecfe48..469f5080ad66c28a1960a5d41ddf28152c590a77 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1922,7 +1922,6 @@ static int video_thread(void *arg)
         while (is->paused && !is->videoq.abort_request)
             SDL_Delay(10);
 
-        avcodec_get_frame_defaults(frame);
         av_free_packet(&pkt);
 
         ret = get_video_frame(is, frame, &pkt, &serial);
@@ -1965,7 +1964,6 @@ static int video_thread(void *arg)
         if (ret < 0)
             goto the_end;
         av_frame_unref(frame);
-        avcodec_get_frame_defaults(frame);
         av_free_packet(&pkt);
 
         while (ret >= 0) {