Mercurial > libavcodec.hg
comparison kgv1dec.c @ 12462:ffb3668ff7af libavcodec
Use new imgutils.h API names, fix deprecation warnings.
author | stefano |
---|---|
date | Tue, 07 Sep 2010 19:15:29 +0000 |
parents | 914f484bb476 |
children |
comparison
equal
deleted
inserted
replaced
12461:25174028da0a | 12462:ffb3668ff7af |
---|---|
49 | 49 |
50 w = (buf[0] + 1) * 8; | 50 w = (buf[0] + 1) * 8; |
51 h = (buf[1] + 1) * 8; | 51 h = (buf[1] + 1) * 8; |
52 buf += 2; | 52 buf += 2; |
53 | 53 |
54 if (av_check_image_size(w, h, 0, avctx)) | 54 if (av_image_check_size(w, h, 0, avctx)) |
55 return -1; | 55 return -1; |
56 | 56 |
57 if (w != avctx->width || h != avctx->height) | 57 if (w != avctx->width || h != avctx->height) |
58 avcodec_set_dimensions(avctx, w, h); | 58 avcodec_set_dimensions(avctx, w, h); |
59 | 59 |