Remove instance of AVCodecParameters

This commit is contained in:
2017-03-24 03:08:54 +00:00
parent b21928900e
commit 0599e751d2
-1
View File
@@ -350,7 +350,6 @@ Bool StreamHandlerLibav::read( PlaYUVerFrame* pcFrame )
m_cFrame->linesize, AVPixelFormat( codec_param->format ),
codec_param->width, codec_param->height, 1 );
#else
AVCodecParameters* codec_param = m_cStream->codecpar;
av_image_copy_to_buffer( m_pStreamBuffer, m_uiFrameBufferSize, m_cFrame->data,
m_cFrame->linesize, m_cCodedCtx->pix_fmt, m_cCodedCtx->width,
m_cCodedCtx->height, 1 );