mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
split a few asserts
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1147 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
32444f0df3
commit
216bdd4859
1 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,8 @@ uint8_t* pa_tagstruct_free_data(pa_tagstruct*t, size_t *l) {
|
|||
}
|
||||
|
||||
static void extend(pa_tagstruct*t, size_t l) {
|
||||
assert(t && t->dynamic);
|
||||
assert(t);
|
||||
assert(t->dynamic);
|
||||
|
||||
if (t->length+l <= t->allocated)
|
||||
return;
|
||||
|
|
@ -87,7 +88,6 @@ static void extend(pa_tagstruct*t, size_t l) {
|
|||
t->data = pa_xrealloc(t->data, t->allocated = t->length+l+100);
|
||||
}
|
||||
|
||||
|
||||
void pa_tagstruct_puts(pa_tagstruct*t, const char *s) {
|
||||
size_t l;
|
||||
assert(t);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue