From fdddf83c71a59b395afe60a0483d3bb3e3231a7b Mon Sep 17 00:00:00 2001 From: Wind Yuan Date: Tue, 26 Nov 2013 14:38:23 +0800 Subject: [PATCH] encoder: fix mpeg2 compilation error. https://bugzilla.gnome.org/show_bug.cgi?id=719746 Signed-off-by: Gwenole Beauchesne --- gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c b/gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c index 1af8f4d64a..5bc01d55b2 100644 --- a/gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c +++ b/gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c @@ -224,7 +224,7 @@ fill_picture (GstVaapiEncoderMpeg2 * encoder, GstVaapiCodedBuffer * codedbuf, GstVaapiSurfaceProxy * surface) { VAEncPictureParameterBufferMPEG2 *pic = picture->param; - uint8_t f_code_x, f_code_y; + guint8 f_code_x, f_code_y; memset (pic, 0, sizeof (VAEncPictureParameterBufferMPEG2));