Message ID | 6a7fb794-cf5d-07bf-0635-133e1f0bc73b@gmail.com |
---|---|
State | Accepted |
Commit | 73bed07373f2672275e33851ad31e447b73b08f9 |
Headers | show |
On Fri, Sep 01, 2017 at 01:11:57AM +0200, pkv.stream wrote: > small typo fix > > libopusenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > 5e0298d5098ab63effde707fbe5385e049af6ff2 0002-avocdec-libopus-fix-typo.patch > From 5dabf59f9f070c7d23da03979f06c136fa6817b4 Mon Sep 17 00:00:00 2001 > From: pkviet <pkv.stream@gmail.com> > Date: Fri, 1 Sep 2017 00:44:11 +0200 > Subject: [PATCH 2/2] avocdec/libopus: fix typo applied thx [...]
diff --git a/libavcodec/libopusenc.c b/libavcodec/libopusenc.c index c40fcde..77d8310 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) {
small typo fix From 5dabf59f9f070c7d23da03979f06c136fa6817b4 Mon Sep 17 00:00:00 2001 From: pkviet <pkv.stream@gmail.com> Date: Fri, 1 Sep 2017 00:44:11 +0200 Subject: [PATCH 2/2] avocdec/libopus: fix typo --- libavcodec/libopusenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)