[FFmpeg-devel] [PATCH 3/5] ffplay: remove unneeded avcodec_get_frame_defaults
Marton Balint
cus at passwd.hu
Wed Dec 25 19:01:01 CET 2013
Signed-off-by: Marton Balint <cus at passwd.hu>
---
ffplay.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/ffplay.c b/ffplay.c
index 52365f3..469f508 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) {
--
1.8.4
More information about the ffmpeg-devel
mailing list