diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-08-06 17:56:09 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-08-06 17:56:09 +0400 |
commit | 4b791fc8505ae11f91cab5f813e4e564acbe8e26 (patch) | |
tree | cc19bf8c86fc5e45f2dfa2df31f923ee707334ce /src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/rv40.c | |
parent | 97a8a7805c2dfd2c5987c671602c2944cc4e655d (diff) |
updated ffmpeg
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@2210 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/rv40.c')
-rw-r--r-- | src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/rv40.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/rv40.c b/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/rv40.c index d425c6ff1..13ba5b6ee 100644 --- a/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/rv40.c +++ b/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/rv40.c @@ -24,6 +24,8 @@ * RV40 decoder */ +#include "libavcore/imgutils.h" + #include "avcodec.h" #include "dsputil.h" #include "mpegvideo.h" @@ -142,7 +144,7 @@ static int rv40_parse_slice_header(RV34DecContext *r, GetBitContext *gb, SliceIn si->pts = get_bits(gb, 13); if(!si->type || !get_bits1(gb)) rv40_parse_picture_size(gb, &w, &h); - if(avcodec_check_dimensions(r->s.avctx, w, h) < 0) + if(av_check_image_size(w, h, 0, r->s.avctx) < 0) return -1; si->width = w; si->height = h; |