diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-13 19:29:35 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-13 19:29:35 +0100 |
commit | d03706d097f334a5a0e95a2d1136d20ecd4d9def (patch) | |
tree | 880f1e486a9db2f865e105dce03a9f425185406d | |
parent | b146752483e87d974355be91c2742d882e0b8dd5 (diff) | |
download | xine-lib-d03706d097f334a5a0e95a2d1136d20ecd4d9def.tar.gz xine-lib-d03706d097f334a5a0e95a2d1136d20ecd4d9def.tar.bz2 |
If the number of channels is not in the known cases, return a failure.
-rw-r--r-- | src/libxineadec/xine_faad_decoder.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libxineadec/xine_faad_decoder.c b/src/libxineadec/xine_faad_decoder.c index 4bd6a02a7..c12e7816d 100644 --- a/src/libxineadec/xine_faad_decoder.c +++ b/src/libxineadec/xine_faad_decoder.c @@ -199,6 +199,8 @@ static int faad_open_output( faad_decoder_t *this ) { case 2: ao_cap_mode=AO_CAP_MODE_STEREO; break; + default: + return 0; } this->output_open = (this->stream->audio_out->open) (this->stream->audio_out, |