summaryrefslogtreecommitdiff
path: root/src/libxineadec/xine_faad_decoder.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-13 22:20:44 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-13 22:20:44 +0100
commit42d23a86ff422f650b16ec786f5e96b126ec680a (patch)
tree991158f109e0ac97adbe7510529e535fc06234f4 /src/libxineadec/xine_faad_decoder.c
parent44234828cf17a0a302975dc3f5f8b671f86a8ac2 (diff)
parentfc2fa145300536b0a19f878212912e9b2d5b57a1 (diff)
downloadxine-lib-last-internal-ffmpeg.tar.gz
xine-lib-last-internal-ffmpeg.tar.bz2
Merge changes from 1.2 main.last-internal-ffmpeg
Diffstat (limited to 'src/libxineadec/xine_faad_decoder.c')
-rw-r--r--src/libxineadec/xine_faad_decoder.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libxineadec/xine_faad_decoder.c b/src/libxineadec/xine_faad_decoder.c
index 36d1d0679..c12e7816d 100644
--- a/src/libxineadec/xine_faad_decoder.c
+++ b/src/libxineadec/xine_faad_decoder.c
@@ -72,7 +72,7 @@ typedef struct faad_decoder_s {
unsigned char *dec_config;
int dec_config_size;
- uint32_t rate;
+ unsigned long rate;
int bits_per_sample;
unsigned char num_channels;
int sbr;
@@ -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,