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:
171bd38
)
ffplay: remove unused variable "codec"
author
Stefano Sabatini
<stefasab@gmail.com>
Sun, 17 Mar 2013 10:33:17 +0000
(11:33 +0100)
committer
Stefano Sabatini
<stefasab@gmail.com>
Sun, 17 Mar 2013 12:05:44 +0000
(13:05 +0100)
Fix warning:
ffplay.c: In function ‘video_thread’:
ffplay.c:1890:21: warning: unused variable ‘codec’ [-Wunused-variable]
ffplay.c
patch
|
blob
|
history
diff --git
a/ffplay.c
b/ffplay.c
index
84a0895
..
70f4775
100644
(file)
--- a/
ffplay.c
+++ b/
ffplay.c
@@
-1887,7
+1887,6
@@
static int video_thread(void *arg)
int serial = 0;
#if CONFIG_AVFILTER
- AVCodecContext *codec = is->video_st->codec;
AVFilterGraph *graph = avfilter_graph_alloc();
AVFilterContext *filt_out = NULL, *filt_in = NULL;
int last_w = 0;