nuv: Use the correct context for av_image_check_size

This commit is contained in:
Vittorio Giovara 2016-03-19 21:38:27 -04:00
parent 64250d94b7
commit 709c0f79d8
1 changed files with 1 additions and 1 deletions

View File

@ -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;