diff options
author | pkviet <pkv.stream@gmail.com> | 2017-09-01 00:44:11 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-09-01 01:19:07 +0200 |
commit | 73bed07373f2672275e33851ad31e447b73b08f9 (patch) | |
tree | b0e20f09ab76dda30e42988aa98eb926e132bd96 | |
parent | feb1dbc7bd4c395400c48055c563ac23d5251716 (diff) | |
download | ffmpeg-73bed07373f2672275e33851ad31e447b73b08f9.tar.gz |
avocdec/libopus: fix typo
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/libopusenc.c | 2 |
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) { |