Mercurial > libavcodec.hg
comparison mdec.c @ 7152:7801d83ba2c8 libavcodec
Remove duplicate emms.
author | astrange |
---|---|
date | Fri, 27 Jun 2008 18:52:02 +0000 |
parents | 4b1c14a839a7 |
children | a702d2a5892f |
comparison
equal
deleted
inserted
replaced
7151:4b1c14a839a7 | 7152:7801d83ba2c8 |
---|---|
201 memset(p->qscale_table, a->qscale, p->qstride*a->mb_height); | 201 memset(p->qscale_table, a->qscale, p->qstride*a->mb_height); |
202 | 202 |
203 *picture= *(AVFrame*)&a->picture; | 203 *picture= *(AVFrame*)&a->picture; |
204 *data_size = sizeof(AVPicture); | 204 *data_size = sizeof(AVPicture); |
205 | 205 |
206 emms_c(); | |
207 | |
208 return (get_bits_count(&a->gb)+31)/32*4; | 206 return (get_bits_count(&a->gb)+31)/32*4; |
209 } | 207 } |
210 | 208 |
211 static av_cold void mdec_common_init(AVCodecContext *avctx){ | 209 static av_cold void mdec_common_init(AVCodecContext *avctx){ |
212 MDECContext * const a = avctx->priv_data; | 210 MDECContext * const a = avctx->priv_data; |