projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d8a647
)
printf: skip pointer extension signifier chars after %p
author
Tim-Philipp Müller
<tim@centricular.net>
Sun, 7 Apr 2013 16:29:02 +0000
(17:29 +0100)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Fri, 12 Apr 2013 22:05:57 +0000
(23:05 +0100)
So they don't get printed after the serialised pointer string.
gst/printf/printf-parse.c
patch
|
blob
|
history
diff --git
a/gst/printf/printf-parse.c
b/gst/printf/printf-parse.c
index
fc7b4d5
..
f8d3475
100644
(file)
--- a/
gst/printf/printf-parse.c
+++ b/
gst/printf/printf-parse.c
@@
-400,6
+400,7
@@
printf_parse (const char *format, char_directives * d, arguments * a)
type = TYPE_POINTER_EXT;
dp->flags |= FLAG_PTR_EXT;
dp->ptr_ext_char = cp[1];
+ cp += 2;
/* we do not use dp->conversion='s' on purpose here, so we
* can fall back to printing just the pointer with %p if the
* serialisation function returned NULL for some reason */