diff options
author | Marton Balint <cus@passwd.hu> | 2013-12-25 16:16:23 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2013-12-29 13:19:19 +0100 |
commit | e90aef9195d2081cd1ee4bc1759b5610427c50c8 (patch) | |
tree | a60db2483aa54d6a995245f9cbc401f04c7cc400 /ffplay.c | |
parent | e3ff6938b5d6cc1d932d5bf182af13840961cf56 (diff) | |
download | ffmpeg-e90aef9195d2081cd1ee4bc1759b5610427c50c8.tar.gz |
ffplay: remove two unneeded av_free_packet calls
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1948,7 +1948,6 @@ static int video_thread(void *arg) event.type = FF_QUIT_EVENT; event.user.data1 = is; SDL_PushEvent(&event); - av_free_packet(&pkt); goto the_end; } filt_in = is->in_video_filter; @@ -1963,7 +1962,6 @@ static int video_thread(void *arg) ret = av_buffersrc_add_frame(filt_in, frame); if (ret < 0) goto the_end; - av_free_packet(&pkt); while (ret >= 0) { is->frame_last_returned_time = av_gettime() / 1000000.0; |