Skip to content
Snippets Groups Projects
Commit 24ac5612 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

cdrom: don't eat the next line after we read the cue file mode


(cherry picked from commit d18fd89b)
Signed-off-by: default avatarSteve Lhomme <robux4@ycbcr.xyz>
parent ed22580d
No related branches found
No related tags found
1 merge request!4393[3.0] cdrom: don't eat the next line after we read the cue file mode
Pipeline #397587 passed with stages
in 20 minutes and 11 seconds
......@@ -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];
......
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