Commit 709c0f79 authored by Vittorio Giovara's avatar Vittorio Giovara

nuv: Use the correct context for av_image_check_size

parent 64250d94
......@@ -198,7 +198,7 @@ static int nuv_header(AVFormatContext *s)
return AVERROR(ENOMEM);
ctx->v_id = vst->index;
ret = av_image_check_size(width, height, 0, ctx);
ret = av_image_check_size(width, height, 0, s);
if (ret < 0)
return ret;
......
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