diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-02-22 13:17:54 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-02-22 13:17:54 +0100 |
commit | 692cd5ef7b66e198a80f0234f76d149f9baf3c64 (patch) | |
tree | 4c7719641d571af47ee6a80c16d962c4ab773ad8 /ext/xvid | |
parent | 06595a1fd20edeff74fd29a6c1d1dc1898fc4cdf (diff) | |
download | gst-plugins-bad-692cd5ef7b66e198a80f0234f76d149f9baf3c64.tar.gz gst-plugins-bad-692cd5ef7b66e198a80f0234f76d149f9baf3c64.tar.bz2 gst-plugins-bad-692cd5ef7b66e198a80f0234f76d149f9baf3c64.zip |
xvid: Fix compilation warning
Diffstat (limited to 'ext/xvid')
-rw-r--r-- | ext/xvid/gstxvid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/xvid/gstxvid.c b/ext/xvid/gstxvid.c index 19fb225d..45c14c32 100644 --- a/ext/xvid/gstxvid.c +++ b/ext/xvid/gstxvid.c @@ -312,13 +312,13 @@ gst_xvid_image_fill (xvid_image_t * im, void *ptr, gint csp, im->stride[0] = stride; im->plane[0] = ptr; /* chroma */ - im->plane[1] = im->plane[0] + (stride * h2); + im->plane[1] = ((guint8 *) im->plane[0]) + (stride * h2); size += stride * height; stride = GST_ROUND_UP_8 (width) / 2; h2 = GST_ROUND_UP_2 (height) / 2; im->stride[1] = stride; - im->plane[2] = im->plane[1] + (stride * h2); + im->plane[2] = ((guint8 *) im->plane[1]) + (stride * h2); im->stride[2] = stride; size += 2 * (stride * h2); break; |