ffplay: remove unused variable "codec"
authorStefano Sabatini <stefasab@gmail.com>
Sun, 17 Mar 2013 10:33:17 +0000 (11:33 +0100)
committerStefano 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

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
     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;
     AVFilterGraph *graph = avfilter_graph_alloc();
     AVFilterContext *filt_out = NULL, *filt_in = NULL;
     int last_w = 0;