Mercurial > libavcodec.hg
comparison mpegvideo.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 | ea3d12d95325 |
children | 747e5f278c4b |
comparison
equal
deleted
inserted
replaced
12461:25174028da0a | 12462:ffb3668ff7af |
---|---|
509 if(s->avctx->thread_count > MAX_THREADS || (s->avctx->thread_count > s->mb_height && s->mb_height)){ | 509 if(s->avctx->thread_count > MAX_THREADS || (s->avctx->thread_count > s->mb_height && s->mb_height)){ |
510 av_log(s->avctx, AV_LOG_ERROR, "too many threads\n"); | 510 av_log(s->avctx, AV_LOG_ERROR, "too many threads\n"); |
511 return -1; | 511 return -1; |
512 } | 512 } |
513 | 513 |
514 if((s->width || s->height) && av_check_image_size(s->width, s->height, 0, s->avctx)) | 514 if((s->width || s->height) && av_image_check_size(s->width, s->height, 0, s->avctx)) |
515 return -1; | 515 return -1; |
516 | 516 |
517 dsputil_init(&s->dsp, s->avctx); | 517 dsputil_init(&s->dsp, s->avctx); |
518 ff_dct_common_init(s); | 518 ff_dct_common_init(s); |
519 | 519 |