summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-03-17 11:33:17 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-03-17 13:05:44 +0100
commitf7d1a18c90d1401acccf3bd6de3e36e8be480006 (patch)
tree4ca201a15c9daf8cfcb2ace2784ff555093390b0 /ffplay.c
parent171bd38edad5e7057a2a251e07a0547ad708a718 (diff)
ffplay: remove unused variable "codec"
Fix warning: ffplay.c: In function ‘video_thread’: ffplay.c:1890:21: warning: unused variable ‘codec’ [-Wunused-variable]
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 84a0895b9b..70f477534e 100644
--- 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;