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
f5fdb793
Commit
f5fdb793
authored
Apr 02, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Apr 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemp3: Change a few more fprintf's to wine logs.
parent
5469551f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
interface.c
dlls/winemp3.acm/interface.c
+6
-3
No files found.
dlls/winemp3.acm/interface.c
View file @
f5fdb793
...
...
@@ -24,6 +24,7 @@
#include "mpg123.h"
#include "mpglib.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
mpeg3
);
BOOL
InitMP3
(
struct
mpstr
*
mp
)
{
...
...
@@ -72,12 +73,13 @@ static struct buf *addbuf(struct mpstr *mp,const unsigned char *buf,int size)
nbuf
=
malloc
(
sizeof
(
struct
buf
)
);
if
(
!
nbuf
)
{
fprintf
(
stderr
,
"Out of memory!
\n
"
);
WARN
(
"Out of memory!
\n
"
);
return
NULL
;
}
nbuf
->
pnt
=
malloc
(
size
);
if
(
!
nbuf
->
pnt
)
{
free
(
nbuf
);
WARN
(
"Out of memory!
\n
"
);
return
NULL
;
}
nbuf
->
size
=
size
;
...
...
@@ -156,7 +158,7 @@ int decodeMP3(struct mpstr *mp,const unsigned char *in,int isize,unsigned char *
int
len
;
if
(
osize
<
4608
)
{
fprintf
(
stderr
,
"To less out space
\n
"
);
ERR
(
"Output buffer too small
\n
"
);
return
MP3_ERR
;
}
...
...
@@ -229,7 +231,8 @@ int set_pointer(struct mpstr *mp, long backstep)
{
unsigned
char
*
bsbufold
;
if
(
mp
->
fsizeold
<
0
&&
backstep
>
0
)
{
fprintf
(
stderr
,
"Can't step back %ld!
\n
"
,
backstep
);
/* This is not a bug if we just did seeking, the first frame is dropped then */
WARN
(
"Can't step back %ld!
\n
"
,
backstep
);
return
MP3_ERR
;
}
bsbufold
=
mp
->
bsspace
[
mp
->
bsnum
]
+
512
;
...
...
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