[FFmpeg-cvslog] ffplay: remove unused variable "codec"

Stefano Sabatini git at videolan.org
Sun Mar 17 13:08:15 CET 2013


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sun Mar 17 11:33:17 2013 +0100| [f7d1a18c90d1401acccf3bd6de3e36e8be480006] | committer: Stefano Sabatini

ffplay: remove unused variable "codec"

Fix warning:
ffplay.c: In function ‘video_thread’:
ffplay.c:1890:21: warning: unused variable ‘codec’ [-Wunused-variable]

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f7d1a18c90d1401acccf3bd6de3e36e8be480006
---

 ffplay.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/ffplay.c b/ffplay.c
index 84a0895..70f4775 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;



More information about the ffmpeg-cvslog mailing list