ffplay: remove unneeded avcodec_get_frame_defaults
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
e37d4920c1
commit
379caaa778
1 changed files with 0 additions and 2 deletions
2
ffplay.c
2
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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue