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:
e37d492
)
ffplay: remove unneeded avcodec_get_frame_defaults
author
Marton Balint
<cus@passwd.hu>
Wed, 25 Dec 2013 14:50:48 +0000
(15:50 +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
52365f3
..
469f508
100644
(file)
--- 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) {