[vlc-commits] [Git][videolan/vlc][master] demux: ogg: remove dead code
Tristan Matthews (@tmatth)
gitlab at videolan.org
Sat Oct 11 19:49:16 UTC 2025
Tristan Matthews pushed to branch master at VideoLAN / VLC
Commits:
04f73569 by Tristan Matthews at 2025-10-11T19:07:10+00:00
demux: ogg: remove dead code
If either i_granulerate_numerator or i_granulerate_denominator were 0, the
function would have already returned.
Fixes CID 1435907
- - - - -
1 changed file:
- modules/demux/ogg.c
Changes:
=====================================
modules/demux/ogg.c
=====================================
@@ -3613,9 +3613,6 @@ static bool Ogg_ReadOggSpotsHeader( logical_stream_t *p_stream,
i_granulerate_denominator = 1;
}
- if ( !i_granulerate_numerator || !i_granulerate_denominator )
- return false;
-
/* Normalize granulerate */
vlc_ureduce(&p_stream->fmt.video.i_frame_rate,
&p_stream->fmt.video.i_frame_rate_base,
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/04f73569728f62cd06e61f1400b0f2003c055c7e
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/04f73569728f62cd06e61f1400b0f2003c055c7e
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list