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.
This commit is contained in:
Sebastian Dröge 2008-02-12 05:14:16 +00:00
parent 8aaddaee2b
commit 4358811258
4 changed files with 137 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
* 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.
2008-02-11 Jan Schmidt <jan.schmidt@sun.com>
* gst/avi/gstavidemux.c:

View file

@ -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);

View file

@ -97,7 +97,7 @@ VALGRIND_TESTS_DISABLE = \
elements/videocrop \
$(VALGRIND_TO_FIX)
SUPPRESSIONS = $(top_srcdir)/common/gst.supp
SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-plugins-good.supp
elements_audiopanorama_LDADD = \
$(GST_BASE_LIBS) $(GST_CONTROLLER_LIBS) \

View file

@ -0,0 +1,127 @@
{
<several valgrind warnings as found with libjpeg 6b on Debian>
Memcheck:Cond
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
fun:jpeg_finish_decompress
}
{
<several valgrind warnings as found with libjpeg 6b on Debian>
Memcheck:Cond
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
fun:jpeg_consume_input
fun:jpeg_read_header
}
{
<several valgrind warnings as found with libjpeg 6b on Debian>
Memcheck:Cond
fun:jpeg_fill_bit_buffer
fun:jpeg_huff_decode
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
fun:jpeg_read_raw_data
}
{
<several valgrind warnings as found with libjpeg 6b on Debian>
Memcheck:Cond
fun:jpeg_fill_bit_buffer
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
fun:jpeg_read_raw_data
}
{
<several valgrind warnings as found with libjpeg 6b on Debian>
Memcheck:Cond
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
fun:jpeg_consume_input
fun:jpeg_read_header
}
{
<several valgrind warnings as found with libjpeg 6b on Debian>
Memcheck:Cond
obj:/usr/lib/libjpeg.so.*
fun:jpeg_finish_compress
}
{
<several valgrind warnings as found with libjpeg 6b on Debian>
Memcheck:Cond
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
fun:jpeg_finish_compress
}
{
<several valgrind warnings as found with libjpeg 6b on Debian>
Memcheck:Cond
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
fun:jpeg_finish_compress
}
{
<several valgrind warnings as found with libjpeg 6b on Debian>
Memcheck:Cond
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
fun:jpeg_write_raw_data
}
{
<several valgrind warnings as found with libjpeg 6b on Debian>
Memcheck:Cond
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
fun:jpeg_write_raw_data
}
{
<several valgrind warnings as found with libjpeg 6b on Debian>
Memcheck:Cond
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
fun:jpeg_write_raw_data
}
{
<several valgrind warnings as found with libjpeg 6b on Debian>
Memcheck:Cond
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
fun:jpeg_write_raw_data
}
{
<several valgrind warnings as found with libjpeg 6b on Debian>
Memcheck:Cond
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
fun:jinit_compress_master
fun:jpeg_start_compress
}
{
<several valgrind warnings as found with libjpeg 6b on Debian>
Memcheck:Cond
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
obj:/usr/lib/libjpeg.so.*
fun:jinit_compress_master
fun:jpeg_start_compress
}