Commit 7cb75e56 authored by Zhao Zhili's avatar Zhao Zhili Committed by Thomas Guillem
Browse files

converter/format: fix payload size

parent ae406f9e
......@@ -415,6 +415,7 @@ static block_t *Fl64toFl32(filter_t *filter, block_t *b)
float *dst = (float *)src;
for (size_t i = b->i_buffer / 8; i--;)
*(dst++) = *(src++);
b->i_buffer /= 2;
VLC_UNUSED(filter);
return b;
......@@ -435,6 +436,7 @@ static block_t *Fl64toS32(filter_t *filter, block_t *b)
else
*(dst++) = lround(s);
}
b->i_buffer /= 2;
VLC_UNUSED(filter);
return b;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment