[FFmpeg-cvslog] nuv: Use the correct context for av_image_check_size

Vittorio Giovara git at videolan.org
Sun Apr 17 20:06:52 CEST 2016


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Sat Mar 19 21:38:27 2016 -0400| [709c0f79d8032fcf733bfe58e79ca7ff0858c8bc] | committer: Vittorio Giovara

nuv: Use the correct context for av_image_check_size

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=709c0f79d8032fcf733bfe58e79ca7ff0858c8bc
---

 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;
 



More information about the ffmpeg-cvslog mailing list