projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
move audio sample calculator to mlt_frame and use from ffmpeg and mcmpeg, add mlt_fra...
[melted]
/
src
/
modules
/
sdl
/
consumer_sdl.c
diff --git
a/src/modules/sdl/consumer_sdl.c
b/src/modules/sdl/consumer_sdl.c
index
85852d5
..
2725d1d
100644
(file)
--- a/
src/modules/sdl/consumer_sdl.c
+++ b/
src/modules/sdl/consumer_sdl.c
@@
-199,7
+199,7
@@
static int consumer_play_audio( consumer_sdl this, mlt_frame frame, int init_aud
// Get the properties of this consumer
mlt_properties properties = this->properties;
mlt_audio_format afmt = mlt_audio_pcm;
- int channels;
+ int channels = 0;
int samples;
int frequency;
int16_t *pcm;