Skip to content
Snippets Groups Projects
Commit 7cb75e56 authored by Zhao Zhili's avatar Zhao Zhili Committed by Thomas Guillem
Browse files

converter/format: fix payload size

parent ae406f9e
No related branches found
No related tags found
1 merge request!101converter/format: fix payload size
Pipeline #95285 passed with stage
in 16 minutes and 17 seconds
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment