[FFmpeg-devel] [PATCH] ffplay: remove unused variable "codec"

Stefano Sabatini stefasab at gmail.com
Sun Mar 17 11:34:04 CET 2013


Fix warning:
ffplay.c: In function ‘video_thread’:
ffplay.c:1890:21: warning: unused variable ‘codec’ [-Wunused-variable]
---
 ffplay.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/ffplay.c b/ffplay.c
index 70db142..726d28c 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;
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list