1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

avocdec/libopus: fix typo

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
pkviet
2017-09-01 00:44:11 +02:00
committed by Michael Niedermayer
parent feb1dbc7bd
commit 73bed07373

View File

@@ -368,7 +368,7 @@ static av_cold int libopus_encode_init(AVCodecContext *avctx)
goto fail; 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); header_size = 19 + (mapping_family == 0 ? 0 : 2 + avctx->channels);
avctx->extradata = av_malloc(header_size + AV_INPUT_BUFFER_PADDING_SIZE); avctx->extradata = av_malloc(header_size + AV_INPUT_BUFFER_PADDING_SIZE);
if (!avctx->extradata) { if (!avctx->extradata) {