diff options
author | John Stebbins <[email protected]> | 2015-09-20 05:51:50 -0600 |
---|---|---|
committer | John Stebbins <[email protected]> | 2015-09-20 05:53:23 -0600 |
commit | d9c5d97d86b7145b16387486f5c9ff527fad0570 (patch) | |
tree | 5f4f5fdbc481c6838379c08aaf4b8e029076a029 /libhb/stream.c | |
parent | fa6604feffe1d61535ae0093055b5b647a1a4a18 (diff) |
stream: remove unused variable pix_fmt
Diffstat (limited to 'libhb/stream.c')
-rw-r--r-- | libhb/stream.c | 2 |
1 files changed, 0 insertions, 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 ) ) { |