[vlc-commits] [Git][videolan/vlc][3.0.x] cdrom: don't eat the next line after we read the cue file mode
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Oct 19 12:13:18 UTC 2023
Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC
Commits:
24ac5612 by Steve Lhomme at 2023-10-19T11:12:10+00:00
cdrom: don't eat the next line after we read the cue file mode
(cherry picked from commit d18fd89b00d986cdf91c57b20d525742b036c1d1)
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
- - - - -
1 changed file:
- modules/access/vcd/cdrom.c
Changes:
=====================================
modules/access/vcd/cdrom.c
=====================================
@@ -856,7 +856,7 @@ static int OpenVCDImage( vlc_object_t * p_this, const char *psz_dev,
p_vcddev->i_vcdimage_handle = vlc_open( psz_vcdfile,
O_RDONLY | O_NONBLOCK | O_BINARY );
- while( fgets( line, 1024, cuefile ) && !b_found )
+ while( !b_found && fgets( line, 1024, cuefile ) )
{
/* We have a cue file, but no valid vcd file yet */
char filename[1024];
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/24ac561248d3cd098030157c57949f20f5f5eb58
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/24ac561248d3cd098030157c57949f20f5f5eb58
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