Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
29f7c292
Commit
29f7c292
authored
Dec 08, 2003
by
Ove Kaaven
Committed by
Alexandre Julliard
Dec 08, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove an instance of exit(). We should return failure, not kill the
thread, when a bad stream is encountered.
parent
1469cf58
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
common.c
dlls/msacm/winemp3/common.c
+1
-1
interface.c
dlls/msacm/winemp3/interface.c
+3
-1
No files found.
dlls/msacm/winemp3/common.c
View file @
29f7c292
...
...
@@ -84,7 +84,7 @@ int decode_header(struct frame *fr,unsigned long newhead)
fr
->
lay
=
4
-
((
newhead
>>
17
)
&
3
);
if
(
((
newhead
>>
10
)
&
0x3
)
==
0x3
)
{
fprintf
(
stderr
,
"Stream error
\n
"
);
exit
(
1
);
return
(
0
);
}
if
(
fr
->
mpeg25
)
{
fr
->
sampling_frequency
=
6
+
((
newhead
>>
10
)
&
0x3
);
...
...
dlls/msacm/winemp3/interface.c
View file @
29f7c292
...
...
@@ -175,7 +175,9 @@ int decodeMP3(struct mpstr *mp,char *in,int isize,char *out,
return
MP3_NEED_MORE
;
}
read_head
(
mp
);
decode_header
(
&
mp
->
fr
,
mp
->
header
);
if
(
decode_header
(
&
mp
->
fr
,
mp
->
header
)
==
0
)
{
return
MP3_ERR
;
}
mp
->
framesize
=
mp
->
fr
.
framesize
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment