Mercurial > libavcodec.hg
comparison eacmv.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 |
---|---|
155 if (AV_RL32(buf)==MVIh_TAG||AV_RB32(buf)==MVIh_TAG) { | 155 if (AV_RL32(buf)==MVIh_TAG||AV_RB32(buf)==MVIh_TAG) { |
156 cmv_process_header(s, buf+EA_PREAMBLE_SIZE, buf_end); | 156 cmv_process_header(s, buf+EA_PREAMBLE_SIZE, buf_end); |
157 return buf_size; | 157 return buf_size; |
158 } | 158 } |
159 | 159 |
160 if (av_check_image_size(s->width, s->height, 0, s->avctx)) | 160 if (av_image_check_size(s->width, s->height, 0, s->avctx)) |
161 return -1; | 161 return -1; |
162 | 162 |
163 /* shuffle */ | 163 /* shuffle */ |
164 if (s->last2_frame.data[0]) | 164 if (s->last2_frame.data[0]) |
165 avctx->release_buffer(avctx, &s->last2_frame); | 165 avctx->release_buffer(avctx, &s->last2_frame); |