summaryrefslogtreecommitdiff
path: root/src/gen7_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/gen7_mfc.c
parent51947c2854a98579defe43e44a2191d21c87545d (diff)
downloadvaapi-intel-driver-0e29103373dbadb30bab189722f19c3f9447a306.tar.gz
vaapi-intel-driver-0e29103373dbadb30bab189722f19c3f9447a306.tar.bz2
vaapi-intel-driver-0e29103373dbadb30bab189722f19c3f9447a306.zip
Silence a bunch of warnings
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'src/gen7_mfc.c')
-rw-r--r--src/gen7_mfc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen7_mfc.c b/src/gen7_mfc.c
index ebde0b5..759b10a 100644
--- a/src/gen7_mfc.c
+++ b/src/gen7_mfc.c
@@ -767,7 +767,7 @@ gen7_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;