comparison audioconvert.h @ 9511:c2dba7ed94dc libavcodec

Check that channel layout is compatible with number of channels for output audio stream.
author jbr
date Sun, 19 Apr 2009 14:05:55 +0000
parents e9d9d946f213
children 7dd2a45249a9
comparison
equal deleted inserted replaced
9510:f0f37cb6e3e5 9511:c2dba7ed94dc
71 * @param fmt_name Format name, or NULL if unknown 71 * @param fmt_name Format name, or NULL if unknown
72 * @return Channel layout mask 72 * @return Channel layout mask
73 */ 73 */
74 int64_t avcodec_guess_channel_layout(int nb_channels, enum CodecID codec_id, const char *fmt_name); 74 int64_t avcodec_guess_channel_layout(int nb_channels, enum CodecID codec_id, const char *fmt_name);
75 75
76 /**
77 * @return the number of channels in the channel layout.
78 */
79 int avcodec_channel_layout_num_channels(int64_t channel_layout);
76 80
77 struct AVAudioConvert; 81 struct AVAudioConvert;
78 typedef struct AVAudioConvert AVAudioConvert; 82 typedef struct AVAudioConvert AVAudioConvert;
79 83
80 /** 84 /**