Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
mediastreamer2
Commits
4f5bb94c
Commit
4f5bb94c
authored
Nov 21, 2014
by
Guillaume BIENKOWSKI
Browse files
Fix typo and bad trace
parent
478d7dab
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/audiofilters/msfileplayer.c
View file @
4f5bb94c
...
...
@@ -127,7 +127,7 @@ int ms_read_wav_header_from_fd(wave_header_t *header,int fd){
goto
not_a_wav
;
}
if
(
strncmp
(
data_chunk
->
data
,
"data"
,
4
)
!=
0
){
ms_warning
(
"skipping chunk=%
s
len=%i"
,
data_chunk
->
data
,
data_chunk
->
len
);
ms_warning
(
"skipping chunk=%
c%c%c%c
len=%i"
,
data_chunk
->
data
[
0
],
data_chunk
->
data
[
1
],
data_chunk
->
data
[
2
],
data_chunk
->
data
[
3
]
,
data_chunk
->
len
);
lseek
(
fd
,
le_uint32
(
data_chunk
->
len
),
SEEK_CUR
);
count
++
;
hsize
+=
len
+
le_uint32
(
data_chunk
->
len
);
...
...
tester/mediastreamer2_player_tester.c
View file @
4f5bb94c
...
...
@@ -119,7 +119,7 @@ static void play_file(const char *filepath, bool_t unsupported_format, bool_t se
static
void
play_root_file
(
const
char
*
filepath
,
bool_t
unsupported_format
,
bool_t
seeking_test
,
bool_t
play_twice
,
int
timeout
){
char
*
file
=
ms_strdup_printf
(
"%s/%s"
,
mediastreamer2_tester_get_file_root
(),
filepath
);
play_file
(
file
,
FALSE
,
FALSE
,
FALSE
,
20000
);
play_file
(
file
,
unsupported_format
,
seeking_test
,
play_twice
,
timeout
);
ms_free
(
file
);
}
...
...
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