Merge commit '709c0f79d8032fcf733bfe58e79ca7ff0858c8bc'

* commit '709c0f79d8032fcf733bfe58e79ca7ff0858c8bc':
  nuv: Use the correct context for av_image_check_size

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
Derek Buitenhuis 2016-04-17 19:06:14 +01:00
commit dff9894acd
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,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;