projects
/
profile
/
ivi
/
pulseaudio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
format: Avoid some code duplication
[profile/ivi/pulseaudio.git]
/
src
/
pulse
/
format.c
diff --git
a/src/pulse/format.c
b/src/pulse/format.c
index
af24eb2
..
9bb7673
100644
(file)
--- a/
src/pulse/format.c
+++ b/
src/pulse/format.c
@@
-66,6
+66,10
@@
void pa_format_info_free(pa_format_info *f) {
pa_xfree(f);
}
+void pa_format_info_free2(pa_format_info *f, void *userdata) {
+ pa_format_info_free(f);
+}
+
int pa_format_info_valid(pa_format_info *f) {
return (f->encoding >= 0 && f->encoding < PA_ENCODING_MAX && f->plist != NULL);
}