diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-04-23 16:38:01 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-02-20 09:18:30 +0100 |
commit | cf5283bf64d914666c5c4e0a97f78dfb249705fa (patch) | |
tree | e798df93f582027149188a3fdcd2105047b01b59 | |
parent | 0b12de447dbefa76c740f4b87da6e0882b735e62 (diff) |
audio_config: fix the uninited state
-rw-r--r-- | src/audio_config.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/audio_config.c b/src/audio_config.c index 72869c38..13633c4a 100644 --- a/src/audio_config.c +++ b/src/audio_config.c @@ -29,6 +29,8 @@ #include <glib.h> +#include <libavutil/samplefmt.h> + #include <assert.h> #include <stdlib.h> @@ -47,6 +49,7 @@ void initAudioConfig(void) GError *error = NULL; bool ret; + configured_audio_format.format = AV_SAMPLE_FMT_NONE; if (param == NULL) return; |