From 52868140ed8175b91fb0e85e5d85684c1228b1e9 Mon Sep 17 00:00:00 2001 From: Robin KAY Date: Sat, 5 Apr 2003 22:42:28 +0000 Subject: Fixes for C89 compliance. The libffmpeg-devel people are targeting C99 so they don't want patches. However, I'm packaging xine for blastwave.org (we package software for Solaris) and we don't have a C99 compliant version of Sun Workshop yet (and gcc is poor on SPARC by comparison) so I'm making these patches to libffmpeg/libavcodec as necessary -_-. CVS patchset: 4541 CVS date: 2003/04/05 22:42:28 --- src/libffmpeg/libavcodec/h263.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libffmpeg/libavcodec/h263.c') diff --git a/src/libffmpeg/libavcodec/h263.c b/src/libffmpeg/libavcodec/h263.c index a054ebfb0..6b02095dd 100644 --- a/src/libffmpeg/libavcodec/h263.c +++ b/src/libffmpeg/libavcodec/h263.c @@ -4080,7 +4080,7 @@ static void mpeg4_decode_sprite_trajectory(MpegEncContext * s) int a= 2<sprite_warping_accuracy; int rho= 3-s->sprite_warping_accuracy; int r=16/a; - const int vop_ref[4][2]= {{0,0}, {s->width,0}, {0, s->height}, {s->width, s->height}}; // only true for rectangle shapes + int vop_ref[4][2]= {{0,0}, {s->width,0}, {0, s->height}, {s->width, s->height}}; // only true for rectangle shapes int d[4][2]={{0,0}, {0,0}, {0,0}, {0,0}}; int sprite_ref[4][2]; int virtual_ref[2][2]; -- cgit v1.2.3