diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-02-12 05:14:16 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-02-12 05:14:16 +0000 |
commit | 435881125823a551cf4b4fe49cc574e9166ac601 (patch) | |
tree | 9e94530d1fc40af5cfac6491902e3c09cc30a789 /ext | |
parent | 8aaddaee2b6d50c0527ca8062fa67ab5e28e3ade (diff) |
Add a few libjpeg suppressions and initialize a variable to make smokeenc valgrind clean. Fixes bug #515701.
Original commit message from CVS:
* ext/jpeg/gstsmokeenc.c: (gst_smokeenc_chain):
* tests/check/Makefile.am:
* tests/check/gst-plugins-good.supp:
Add a few libjpeg suppressions and initialize a variable to
make smokeenc valgrind clean. Fixes bug #515701.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/jpeg/gstsmokeenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/jpeg/gstsmokeenc.c b/ext/jpeg/gstsmokeenc.c index 87e4085a..6dc4abea 100644 --- a/ext/jpeg/gstsmokeenc.c +++ b/ext/jpeg/gstsmokeenc.c @@ -320,7 +320,7 @@ gst_smokeenc_chain (GstPad * pad, GstBuffer * buf) smokeenc->need_header = FALSE; } - outsize = smokeenc->width * smokeenc->height * 3; + encsize = outsize = smokeenc->width * smokeenc->height * 3; outbuf = gst_buffer_new_and_alloc (outsize); outdata = GST_BUFFER_DATA (outbuf); |