aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpkviet <pkv.stream@gmail.com>2017-09-01 00:44:11 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2017-09-01 01:19:07 +0200
commit73bed07373f2672275e33851ad31e447b73b08f9 (patch)
treeb0e20f09ab76dda30e42988aa98eb926e132bd96
parentfeb1dbc7bd4c395400c48055c563ac23d5251716 (diff)
downloadffmpeg-73bed07373f2672275e33851ad31e447b73b08f9.tar.gz
avocdec/libopus: fix typo
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavcodec/libopusenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libopusenc.c b/libavcodec/libopusenc.c
index c40fcde7ba..77d8310048 100644
--- a/libavcodec/libopusenc.c
+++ b/libavcodec/libopusenc.c
@@ -368,7 +368,7 @@ static av_cold int libopus_encode_init(AVCodecContext *avctx)
goto fail;
}
- /* Header includes channel mapping table if and only if mapping family is 0 */
+ /* Header includes channel mapping table if and only if mapping family is NOT 0 */
header_size = 19 + (mapping_family == 0 ? 0 : 2 + avctx->channels);
avctx->extradata = av_malloc(header_size + AV_INPUT_BUFFER_PADDING_SIZE);
if (!avctx->extradata) {