OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b82afe
)
[Qt][SOUND_LOADER] Remove a warning.
author
K.Ohta
<whatisthis.sowhat@gmail.com>
Sun, 23 Oct 2016 20:35:10 +0000
(
05:35
+0900)
committer
K.Ohta
<whatisthis.sowhat@gmail.com>
Sun, 23 Oct 2016 20:35:10 +0000
(
05:35
+0900)
source/src/qt/avio/sound_loader.cpp
patch
|
blob
|
history
diff --git
a/source/src/qt/avio/sound_loader.cpp
b/source/src/qt/avio/sound_loader.cpp
index
d88e43c
..
9f2e1a7
100644
(file)
--- a/
source/src/qt/avio/sound_loader.cpp
+++ b/
source/src/qt/avio/sound_loader.cpp
@@
-296,7
+296,7
@@
int SOUND_LOADER::do_decode_frames(void)
}
#if defined(USE_LIBAV)
_data_size = 65536 * 2 * sizeof(int16_t);
- sound_buffer = malloc(_data_size);
+ sound_buffer =
(int16_t *)
malloc(_data_size);
if(sound_buffer == NULL) {
return -1;
}