diff options
author | Marton Balint <cus@passwd.hu> | 2013-12-25 15:50:48 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2013-12-29 13:19:19 +0100 |
commit | 379caaa7789834fa2b0b45c82399082d2bc85113 (patch) | |
tree | 79b44d7e357f92fd85c2f883e12d92a9b8dc689c | |
parent | e37d4920c1044f7107020044e6a5a18d17f8718c (diff) | |
download | ffmpeg-379caaa7789834fa2b0b45c82399082d2bc85113.tar.gz |
ffplay: remove unneeded avcodec_get_frame_defaults
Signed-off-by: Marton Balint <cus@passwd.hu>
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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) { |