summaryrefslogtreecommitdiff
path: root/src/gen75_mfc.c
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2013-03-08 10:36:41 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2013-03-15 15:45:28 +0800
commit0e29103373dbadb30bab189722f19c3f9447a306 (patch)
tree6fc3cb54bd60b95ac7cc31be949e9310c34738fc /src/gen75_mfc.c
parent51947c2854a98579defe43e44a2191d21c87545d (diff)
downloadlibva-intel-driver-0e29103373dbadb30bab189722f19c3f9447a306.tar.gz
libva-intel-driver-0e29103373dbadb30bab189722f19c3f9447a306.tar.bz2
libva-intel-driver-0e29103373dbadb30bab189722f19c3f9447a306.zip
Silence a bunch of warnings
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'src/gen75_mfc.c')
-rw-r--r--src/gen75_mfc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen75_mfc.c b/src/gen75_mfc.c
index f954d7a..e055d32 100644
--- a/src/gen75_mfc.c
+++ b/src/gen75_mfc.c
@@ -2179,7 +2179,7 @@ gen75_mfc_mpeg2_pipeline_slice_group(VADriverContextP ctx,
int height_in_mbs = ALIGN(seq_param->picture_height, 16) / 16;
int i, j;
int h_start_pos, v_start_pos, h_next_start_pos, v_next_start_pos;
- unsigned int *msg = NULL, offset = 0;
+ unsigned int *msg = NULL;
unsigned char *msg_ptr = NULL;
slice_param = (VAEncSliceParameterBufferMPEG2 *)encode_state->slice_params_ext[slice_index]->buffer;