Browse Source

nuv: Use the correct context for av_image_check_size

tags/n3.1
Vittorio Giovara 9 years ago
parent
commit
709c0f79d8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/nuv.c

+ 1
- 1
libavformat/nuv.c View File

@@ -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;



Loading…
Cancel
Save