From d9c5d97d86b7145b16387486f5c9ff527fad0570 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Sun, 20 Sep 2015 05:51:50 -0600 Subject: stream: remove unused variable pix_fmt --- libhb/stream.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libhb/stream.c b/libhb/stream.c index e404513e0..76fb96fc9 100644 --- a/libhb/stream.c +++ b/libhb/stream.c @@ -5494,7 +5494,6 @@ static hb_title_t *ffmpeg_title_scan( hb_stream_t *stream, hb_title_t *title ) title->demuxer = HB_NULL_DEMUXER; title->video_codec = 0; int i; - int pix_fmt = -1; for (i = 0; i < ic->nb_streams; ++i ) { if ( ic->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO && @@ -5503,7 +5502,6 @@ static hb_title_t *ffmpeg_title_scan( hb_stream_t *stream, hb_title_t *title ) title->video_codec == 0 ) { AVCodecContext *context = ic->streams[i]->codec; - pix_fmt = context->pix_fmt; if ( context->pix_fmt != AV_PIX_FMT_YUV420P && !sws_isSupportedInput( context->pix_fmt ) ) { -- cgit v1.2.3