Mercurial > libavcodec.hg
comparison xsubdec.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 |
---|---|
75 buf += 27; | 75 buf += 27; |
76 | 76 |
77 // read header | 77 // read header |
78 w = bytestream_get_le16(&buf); | 78 w = bytestream_get_le16(&buf); |
79 h = bytestream_get_le16(&buf); | 79 h = bytestream_get_le16(&buf); |
80 if (av_check_image_size(w, h, 0, avctx) < 0) | 80 if (av_image_check_size(w, h, 0, avctx) < 0) |
81 return -1; | 81 return -1; |
82 x = bytestream_get_le16(&buf); | 82 x = bytestream_get_le16(&buf); |
83 y = bytestream_get_le16(&buf); | 83 y = bytestream_get_le16(&buf); |
84 // skip bottom right position, it gives no new information | 84 // skip bottom right position, it gives no new information |
85 bytestream_get_le16(&buf); | 85 bytestream_get_le16(&buf); |