[vlc-commits] [Git][videolan/vlc][master] opus: drop unreachable code
Steve Lhomme (@robUx4)
gitlab at videolan.org
Wed Sep 9 02:53:21 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
1b24327e by Tristan Matthews at 2026-09-09T02:32:14+00:00
opus: drop unreachable code
Fixes CID 1665740
- - - - -
1 changed file:
- modules/codec/opus.c
Changes:
=====================================
modules/codec/opus.c
=====================================
@@ -855,14 +855,6 @@ static int OpenEncoder(vlc_object_t *p_this)
opus_header_clean(&header);
- if (status != VLC_SUCCESS)
- {
- free(sys->buffer);
- opus_multistream_encoder_destroy(sys->enc);
- free(sys);
- return status;
- }
-
static const struct vlc_encoder_operations ops =
{
.close = CloseEncoder,
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1b24327edd7508a3d43021b4429ab32d3be1b567
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1b24327edd7508a3d43021b4429ab32d3be1b567
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