Commit 4f5bb94c authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI
Browse files

Fix typo and bad trace

parent 478d7dab
...@@ -127,7 +127,7 @@ int ms_read_wav_header_from_fd(wave_header_t *header,int fd){ ...@@ -127,7 +127,7 @@ int ms_read_wav_header_from_fd(wave_header_t *header,int fd){
goto not_a_wav; goto not_a_wav;
} }
if (strncmp(data_chunk->data, "data", 4)!=0){ 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); lseek(fd,le_uint32(data_chunk->len),SEEK_CUR);
count++; count++;
hsize+=len+le_uint32(data_chunk->len); hsize+=len+le_uint32(data_chunk->len);
......
...@@ -119,7 +119,7 @@ static void play_file(const char *filepath, bool_t unsupported_format, bool_t se ...@@ -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){ 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); 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); ms_free(file);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment