Commit 73bed073 authored by pkviet's avatar pkviet Committed by Michael Niedermayer

avocdec/libopus: fix typo

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent feb1dbc7
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment