aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2013-12-25 15:50:48 +0100
committerMarton Balint <cus@passwd.hu>2013-12-29 13:19:19 +0100
commit379caaa7789834fa2b0b45c82399082d2bc85113 (patch)
tree79b44d7e357f92fd85c2f883e12d92a9b8dc689c
parente37d4920c1044f7107020044e6a5a18d17f8718c (diff)
downloadffmpeg-379caaa7789834fa2b0b45c82399082d2bc85113.tar.gz
ffplay: remove unneeded avcodec_get_frame_defaults
Signed-off-by: Marton Balint <cus@passwd.hu>
-rw-r--r--ffplay.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ffplay.c b/ffplay.c
index 52365f3bdd..469f5080ad 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) {