aboutsummaryrefslogtreecommitdiffstats
path: root/libavresample
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-12 10:50:14 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-12 10:50:21 +0100
commit12fcc626d6ac5da5336f184c2c3f973cf00005f4 (patch)
tree74e207314d7b3d945a43ab33216baf5a18d3ddaa /libavresample
parentce58642ed0d6dade63ff1b2467aa573e97c0cc91 (diff)
parent42b5688d5ed340c9298650a7b8e88bb8b2c56c8c (diff)
downloadffmpeg-12fcc626d6ac5da5336f184c2c3f973cf00005f4.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: lavr: fix segfault due to overlooked change needed in 14758e3 x86inc: support stack mem allocation and re-alignment in PROLOGUE Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavresample')
-rw-r--r--libavresample/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavresample/utils.c b/libavresample/utils.c
index c0ddf222ef..918b67a5c0 100644
--- a/libavresample/utils.c
+++ b/libavresample/utils.c
@@ -49,7 +49,7 @@ int avresample_open(AVAudioResampleContext *avr)
avr->resample_channels = FFMIN(avr->in_channels, avr->out_channels);
avr->downmix_needed = avr->in_channels > avr->out_channels;
avr->upmix_needed = avr->out_channels > avr->in_channels ||
- (!avr->downmix_needed && (avr->am->matrix ||
+ (!avr->downmix_needed && (avr->mix_matrix ||
avr->in_channel_layout != avr->out_channel_layout));
avr->mixing_needed = avr->downmix_needed || avr->upmix_needed;