diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-09-07 19:15:29 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-09-07 19:15:29 +0000 |
commit | e16f217ceb95395669abe3cea18737e92fb78c82 (patch) | |
tree | 8e55022c675d84e0cf39ebb7047396992dd93e7d /libavcodec/h264_ps.c | |
parent | 9b7269e379289e240404c803acac25c607bb0e26 (diff) | |
download | ffmpeg-e16f217ceb95395669abe3cea18737e92fb78c82.tar.gz |
Use new imgutils.h API names, fix deprecation warnings.
Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264_ps.c')
-rw-r--r-- | libavcodec/h264_ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_ps.c b/libavcodec/h264_ps.c index 92dcead9ae..6c5e065178 100644 --- a/libavcodec/h264_ps.c +++ b/libavcodec/h264_ps.c @@ -342,7 +342,7 @@ int ff_h264_decode_seq_parameter_set(H264Context *h){ sps->mb_width = get_ue_golomb(&s->gb) + 1; sps->mb_height= get_ue_golomb(&s->gb) + 1; if((unsigned)sps->mb_width >= INT_MAX/16 || (unsigned)sps->mb_height >= INT_MAX/16 || - av_check_image_size(16*sps->mb_width, 16*sps->mb_height, 0, h->s.avctx)){ + av_image_check_size(16*sps->mb_width, 16*sps->mb_height, 0, h->s.avctx)){ av_log(h->s.avctx, AV_LOG_ERROR, "mb_width/height overflow\n"); goto fail; } |