summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2015-07-29 20:32:41 -0700
committerVinson Lee <vlee@freedesktop.org>2015-08-03 23:09:03 -0700
commit996349cb190154ebdc8cc9f23e5f8f9aabbd6b4d (patch)
tree4130f70f967e52c94c5871e51b7e4fd64e5f64b5 /src/gallium/auxiliary
parente23cbaadaac0c67a72b10e3dd14b75abc19ab3c5 (diff)
downloadexternal_mesa3d-996349cb190154ebdc8cc9f23e5f8f9aabbd6b4d.zip
external_mesa3d-996349cb190154ebdc8cc9f23e5f8f9aabbd6b4d.tar.gz
external_mesa3d-996349cb190154ebdc8cc9f23e5f8f9aabbd6b4d.tar.bz2
vl/mpeg12: Silence GCC unused-variable warning.
vl/vl_mpeg12_bitstream.c: In function 'decode_slice': vl/vl_mpeg12_bitstream.c:928:19: warning: unused variable 'extra' [-Wunused-variable] unsigned extra = vl_vlc_get_uimsbf(&bs->vlc, 1); ^ Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c b/src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c
index 539a991..52ce6c4 100644
--- a/src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c
+++ b/src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c
@@ -929,6 +929,7 @@ decode_slice(struct vl_mpg12_bs *bs, struct pipe_video_buffer *target)
mb.PMV[1][0][0] = mb.PMV[0][0][0];
mb.PMV[1][0][1] = mb.PMV[0][0][1];
assert(extra);
+ (void) extra;
} else if (mb.macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA ||
!(mb.macroblock_type & (PIPE_MPEG12_MB_TYPE_MOTION_FORWARD |
PIPE_MPEG12_MB_TYPE_MOTION_BACKWARD))) {