---
libavformat/nuv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/nuv.c b/libavformat/nuv.c
index 7fc339a..492f68f 100644
--- a/libavformat/nuv.c
+++ b/libavformat/nuv.c
@@ -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;
--
2.7.3
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel