Commit 01c4f44e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

avcodec: pass coded dimensions to hardware decoder

Regression from b71c85b3.
parent 3513df2d
......@@ -907,7 +907,7 @@ static int ffmpeg_va_GetFrameBuf( struct AVCodecContext *p_context, AVFrame *p_f
/* hwaccel_context is not present in old ffmpeg version */
if( vlc_va_Setup( p_va,
&p_context->hwaccel_context, &p_dec->fmt_out.video.i_chroma,
p_context->width, p_context->height ) )
p_context->coded_width, p_context->coded_height ) )
{
msg_Err( p_dec, "vlc_va_Setup failed" );
return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment