OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3ff693
)
ffplay: remove two unneeded av_free_packet calls
author
Marton Balint
<cus@passwd.hu>
Wed, 25 Dec 2013 15:16:23 +0000
(16:16 +0100)
committer
Marton Balint
<cus@passwd.hu>
Sun, 29 Dec 2013 12:19:19 +0000
(13:19 +0100)
Signed-off-by: Marton Balint <cus@passwd.hu>
ffplay.c
patch
|
blob
|
history
diff --git
a/ffplay.c
b/ffplay.c
index
0cdcbb4
..
fa3e114
100644
(file)
--- a/
ffplay.c
+++ b/
ffplay.c
@@
-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;