summaryrefslogtreecommitdiffstats
path: root/ext/soundtouch
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-04-25 23:22:56 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-04-25 23:22:56 +0000
commit625a222f06d943aba5bbb14456bce9d2944ea827 (patch)
tree799321ae9d466a8d0a65ab13fdee59ff51a183d5 /ext/soundtouch
parente4c57a859a9a10dff53f378a60fb1b3d13fc7636 (diff)
downloadgst-plugins-bad-625a222f06d943aba5bbb14456bce9d2944ea827.tar.gz
gst-plugins-bad-625a222f06d943aba5bbb14456bce9d2944ea827.tar.bz2
gst-plugins-bad-625a222f06d943aba5bbb14456bce9d2944ea827.zip
ext/: Cast NULL sentinels to void * as NULL is defined as an integer constant in most environments when using C++ and...
Original commit message from CVS: * ext/mpeg2enc/gstmpeg2enc.cc: * ext/soundtouch/gstbpmdetect.cc: Cast NULL sentinels to void * as NULL is defined as an integer constant in most environments when using C++ and it's size might be different from a pointer.
Diffstat (limited to 'ext/soundtouch')
-rw-r--r--ext/soundtouch/gstbpmdetect.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soundtouch/gstbpmdetect.cc b/ext/soundtouch/gstbpmdetect.cc
index 1ec5452a..8b1d7f1f 100644
--- a/ext/soundtouch/gstbpmdetect.cc
+++ b/ext/soundtouch/gstbpmdetect.cc
@@ -221,7 +221,7 @@ gst_bpm_detect_transform_ip (GstBaseTransform * trans, GstBuffer * in)
GstTagList *tags = gst_tag_list_new ();
gst_tag_list_add (tags, GST_TAG_MERGE_REPLACE_ALL, GST_TAG_BEATS_PER_MINUTE,
- bpm, NULL);
+ bpm, (void *) NULL);
gst_element_found_tags (GST_ELEMENT (bpm_detect), tags);
GST_INFO_OBJECT (bpm_detect, "Detected BPM: %lf\n", bpm);