diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-07-28 10:19:02 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-07-28 10:19:02 +0000 |
commit | 4ecc32c4684d976efeb930e78fdcad06799aa434 (patch) | |
tree | 7e1075115fa00c6ba3448a9b7a8b0730fc694cf6 /ext | |
parent | 3ca2e121ec1af161a564e0de32c70ef0cb337f4e (diff) | |
download | gst-plugins-bad-4ecc32c4684d976efeb930e78fdcad06799aa434.tar.gz gst-plugins-bad-4ecc32c4684d976efeb930e78fdcad06799aa434.tar.bz2 gst-plugins-bad-4ecc32c4684d976efeb930e78fdcad06799aa434.zip |
ext/xvid/gstxvid.c: Fix size calculation for I420/YV12. Fixes #348976.
Original commit message from CVS:
* ext/xvid/gstxvid.c: (gst_xvid_image_fill):
Fix size calculation for I420/YV12. Fixes #348976.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/xvid/gstxvid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xvid/gstxvid.c b/ext/xvid/gstxvid.c index 96e11e66..bc10d219 100644 --- a/ext/xvid/gstxvid.c +++ b/ext/xvid/gstxvid.c @@ -320,7 +320,7 @@ gst_xvid_image_fill (xvid_image_t * im, void *ptr, gint csp, im->plane[2] = im->plane[1] + (stride * h2); im->stride[2] = stride; - size += 2 * (stride * height); + size += 2 * (stride * h2); break; case XVID_CSP_RGB555: case XVID_CSP_RGB565: |