comparison audioconvert.c @ 7984:24f2b8cc7918 libavcodec

Remove duplicate "const" qualifier for *matrix. This silences out a warning when compiling with Intel C Compiler. Patch by Diego 'Flameeyes' Petten %flameeyes A gmail P com%
author gpoirier
date Thu, 02 Oct 2008 19:09:56 +0000
parents 8d5e06d2eed8
children c2ab7a8958ed
comparison
equal deleted inserted replaced
7983:47f50599b368 7984:24f2b8cc7918
75 int fmt_pair; 75 int fmt_pair;
76 }; 76 };
77 77
78 AVAudioConvert *av_audio_convert_alloc(enum SampleFormat out_fmt, int out_channels, 78 AVAudioConvert *av_audio_convert_alloc(enum SampleFormat out_fmt, int out_channels,
79 enum SampleFormat in_fmt, int in_channels, 79 enum SampleFormat in_fmt, int in_channels,
80 const const float *matrix, int flags) 80 const float *matrix, int flags)
81 { 81 {
82 AVAudioConvert *ctx; 82 AVAudioConvert *ctx;
83 if (in_channels!=out_channels) 83 if (in_channels!=out_channels)
84 return NULL; /* FIXME: not supported */ 84 return NULL; /* FIXME: not supported */
85 ctx = av_malloc(sizeof(AVAudioConvert)); 85 ctx = av_malloc(sizeof(AVAudioConvert));