[FFmpeg-devel] [PATCH] ffplay: remove unused variable "codec"
Marton Balint
cus at passwd.hu
Sun Mar 17 12:30:59 CET 2013
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.
Marton
More information about the ffmpeg-devel
mailing list