diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-01-13 01:00:31 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-01-13 01:00:31 +0000 |
commit | 8b69c2f4638da056591ac3dfee238b83f1eb74b2 (patch) | |
tree | df01a5a0003c9998c3ca85bcb8d133e768d873e5 /libavcore/audioconvert.h | |
parent | caeb0c30272a42c34b7f80acea90fa14cf98ec20 (diff) | |
download | ffmpeg-8b69c2f4638da056591ac3dfee238b83f1eb74b2.tar.gz |
Make av_get_channel_layout_string() guess the number of channels if it
was not provided.
Originally committed as revision 26324 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcore/audioconvert.h')
-rw-r--r-- | libavcore/audioconvert.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcore/audioconvert.h b/libavcore/audioconvert.h index 0c6b979aec..89e9c55d17 100644 --- a/libavcore/audioconvert.h +++ b/libavcore/audioconvert.h @@ -80,6 +80,7 @@ int64_t av_get_channel_layout(const char *name); /** * Return a description of a channel layout. + * If nb_channels is <= 0, it is guessed from the channel_layout. * * @param buf put here the string containing the channel layout * @param buf_size size in bytes of the buffer |