[SCM] libav/experimental: Maybe fix gcc 2.95
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:02:51 UTC 2013
The following commit has been merged in the experimental branch:
commit 0448ef7788622f57f00d089c9138e2f594c9d246
Author: David Conrad <lessen42 at gmail.com>
Date: Thu Mar 4 09:25:42 2010 +0000
Maybe fix gcc 2.95
Originally committed as revision 22203 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index e2ee24a..970bfee 100644
--- a/libavcodec/vp3.c
+++ b/libavcodec/vp3.c
@@ -547,7 +547,7 @@ static int unpack_superblocks(Vp3DecodeContext *s, GetBitContext *gb)
memset(s->macroblock_coding, MODE_COPY, s->macroblock_count);
for (plane = 0; plane < 3; plane++) {
- int sb_start = (int[]){ 0, s->u_superblock_start, s->v_superblock_start }[plane];
+ int sb_start = (int[3]){ 0, s->u_superblock_start, s->v_superblock_start }[plane];
int sb_end = sb_start + (plane ? s->c_superblock_count : s->y_superblock_count);
int num_coded_frags = 0;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list