mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
nuv: Use the correct context for av_image_check_size
This commit is contained in:
parent
64250d94b7
commit
709c0f79d8
@ -198,7 +198,7 @@ static int nuv_header(AVFormatContext *s)
|
|||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
ctx->v_id = vst->index;
|
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)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user