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

Stefano Sabatini stefasab at gmail.com
Sun Mar 17 13:08:33 CET 2013


On date Sunday 2013-03-17 12:30:59 +0100, Marton Balint encoded:
> 
> 
> On Sun, 17 Mar 2013, Stefano Sabatini wrote:
> 
> >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;
> 
> LGTM, thanks.

Applied.
-- 
FFmpeg = Fabulous and Freak Most Puristic Ermetic God


More information about the ffmpeg-devel mailing list