You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
nuv: Use the correct context for av_image_check_size
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user