aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-02-25 22:41:31 +0000
committerMåns Rullgård <mans@mansr.com>2006-02-25 22:41:31 +0000
commit1bd8624697c1377bf42f5aef4795a370c3b01c1d (patch)
tree4638a040e943216479ec4a06ef1be1c31d377b92 /libavcodec/mpegvideo.c
parent285b570fd23a14762ed06024b4eca0ce59b5833b (diff)
downloadffmpeg-1bd8624697c1377bf42f5aef4795a370c3b01c1d.tar.gz
kill some warnings
Originally committed as revision 5063 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index a7ae07b412..bfa58e826b 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -2230,7 +2230,8 @@ static int estimate_best_b_count(MpegEncContext *s){
input[i].linesize[2]= c->width/2;
if(!i || s->input_picture[i-1])
- img_resample(resample, &input[i], &pre_input);
+ img_resample(resample, (AVPicture*)&input[i],
+ (AVPicture*)&pre_input);
}
for(j=0; j<s->max_b_frames+1; j++){