[vlc-commits] [Git][videolan/vlc][3.0.x] converter/format: fix payload size
Steve Lhomme (@robUx4)
gitlab at videolan.org
Mon Nov 2 06:33:52 UTC 2026
Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC
Commits:
c128d1f1 by Zhao Zhili at 2026-11-02T06:24:43+00:00
converter/format: fix payload size
(cherry picked from commit 7cb75e5685b2e317dab96ce3c6f9ff1dcef9c993)
Fixes #30386.
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
- - - - -
1 changed file:
- modules/audio_filter/converter/format.c
Changes:
=====================================
modules/audio_filter/converter/format.c
=====================================
@@ -414,6 +414,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;
@@ -434,6 +435,7 @@ static block_t *Fl64toS32(filter_t *filter, block_t *b)
else
*(dst++) = lround(s);
}
+ b->i_buffer /= 2;
VLC_UNUSED(filter);
return b;
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c128d1f15c3c858e452535b0573d38f22e91ff37
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c128d1f15c3c858e452535b0573d38f22e91ff37
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list