Mercurial > libavcodec.hg
comparison flvdec.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 |
---|---|
81 break; | 81 break; |
82 default: | 82 default: |
83 width = height = 0; | 83 width = height = 0; |
84 break; | 84 break; |
85 } | 85 } |
86 if(av_check_image_size(width, height, 0, s->avctx)) | 86 if(av_image_check_size(width, height, 0, s->avctx)) |
87 return -1; | 87 return -1; |
88 s->width = width; | 88 s->width = width; |
89 s->height = height; | 89 s->height = height; |
90 | 90 |
91 s->pict_type = FF_I_TYPE + get_bits(&s->gb, 2); | 91 s->pict_type = FF_I_TYPE + get_bits(&s->gb, 2); |