summaryrefslogtreecommitdiff
path: root/libavformat/nuv.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-03-19 21:38:27 -0400
committerVittorio Giovara <vittorio.giovara@gmail.com>2016-03-22 16:51:09 -0400
commit709c0f79d8032fcf733bfe58e79ca7ff0858c8bc (patch)
treebc2b734417439218cb39ad209ca964017f4e5801 /libavformat/nuv.c
parent64250d94b74d3fd47cc8b1611f48daf6a6ed804a (diff)
nuv: Use the correct context for av_image_check_size
Diffstat (limited to 'libavformat/nuv.c')
-rw-r--r--libavformat/nuv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nuv.c b/libavformat/nuv.c
index 7fc339a2fe..492f68f493 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;