Mercurial > libavcodec.hg
comparison vp3.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 | 25174028da0a |
children | 9c9be94124f8 |
comparison
equal
deleted
inserted
replaced
12461:25174028da0a | 12462:ffb3668ff7af |
---|---|
1979 } | 1979 } |
1980 | 1980 |
1981 visible_width = s->width = get_bits(gb, 16) << 4; | 1981 visible_width = s->width = get_bits(gb, 16) << 4; |
1982 visible_height = s->height = get_bits(gb, 16) << 4; | 1982 visible_height = s->height = get_bits(gb, 16) << 4; |
1983 | 1983 |
1984 if(av_check_image_size(s->width, s->height, 0, avctx)){ | 1984 if(av_image_check_size(s->width, s->height, 0, avctx)){ |
1985 av_log(avctx, AV_LOG_ERROR, "Invalid dimensions (%dx%d)\n", s->width, s->height); | 1985 av_log(avctx, AV_LOG_ERROR, "Invalid dimensions (%dx%d)\n", s->width, s->height); |
1986 s->width= s->height= 0; | 1986 s->width= s->height= 0; |
1987 return -1; | 1987 return -1; |
1988 } | 1988 } |
1989 | 1989 |