Re: [FFmpeg-devel] [PATCH] lavc/audiotoolboxenc: fix noise in encoded audio

2018-01-02 Thread Jiejun Zhang
On Tue, Jan 2, 2018 at 10:37 PM, wm4 wrote: > On Tue, 2 Jan 2018 22:27:49 +0800 > Jiejun Zhang wrote: > >> On Tue, Jan 2, 2018 at 8:03 PM, Carl Eugen Hoyos wrote: >> > 2018-01-02 8:52 GMT+01:00 : >> > >> >> @@ -565,6 +579,10 @@ static av_cold int ffat_close_encoder(AVCodecContext >> >> *avctx)

Re: [FFmpeg-devel] [PATCH] lavc/audiotoolboxenc: fix noise in encoded audio

2018-01-02 Thread wm4
On Tue, 2 Jan 2018 22:27:49 +0800 Jiejun Zhang wrote: > On Tue, Jan 2, 2018 at 8:03 PM, Carl Eugen Hoyos wrote: > > 2018-01-02 8:52 GMT+01:00 : > > > >> @@ -565,6 +579,10 @@ static av_cold int ffat_close_encoder(AVCodecContext > >> *avctx) > >> ff_bufqueue_discard_all(&at->frame_queue);

Re: [FFmpeg-devel] [PATCH] lavc/audiotoolboxenc: fix noise in encoded audio

2018-01-02 Thread Jiejun Zhang
On Tue, Jan 2, 2018 at 8:03 PM, Carl Eugen Hoyos wrote: > 2018-01-02 8:52 GMT+01:00 : > >> @@ -565,6 +579,10 @@ static av_cold int ffat_close_encoder(AVCodecContext >> *avctx) >> ff_bufqueue_discard_all(&at->frame_queue); >> ff_bufqueue_discard_all(&at->used_frame_queue); >> ff_af

Re: [FFmpeg-devel] [PATCH] lavc/audiotoolboxenc: fix noise in encoded audio

2018-01-02 Thread Carl Eugen Hoyos
2018-01-02 8:52 GMT+01:00 : > @@ -565,6 +579,10 @@ static av_cold int ffat_close_encoder(AVCodecContext > *avctx) > ff_bufqueue_discard_all(&at->frame_queue); > ff_bufqueue_discard_all(&at->used_frame_queue); > ff_af_queue_close(&at->afq); > +if (at->audio_data_buf_size > 0) {

Re: [FFmpeg-devel] [PATCH] lavc/audiotoolboxenc: fix noise in encoded audio

2018-01-02 Thread Steven Liu
2018-01-02 16:59 GMT+08:00 : > From: Jiejun Zhang > > This fixes #6940 > --- > libavcodec/audiotoolboxenc.c | 34 +- > 1 file changed, 29 insertions(+), 5 deletions(-) > > diff --git a/libavcodec/audiotoolboxenc.c b/libavcodec/audiotoolboxenc.c > index 71885d1530.

[FFmpeg-devel] [PATCH] lavc/audiotoolboxenc: fix noise in encoded audio

2018-01-02 Thread zhangjiejun1992
From: Jiejun Zhang This fixes #6940 --- libavcodec/audiotoolboxenc.c | 34 +- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/libavcodec/audiotoolboxenc.c b/libavcodec/audiotoolboxenc.c index 71885d1530..0c1e5feadc 100644 --- a/libavcodec/audiotoolb

Re: [FFmpeg-devel] [PATCH] lavc/audiotoolboxenc: fix noise in encoded audio

2018-01-02 Thread Steven Liu
2018-01-02 15:52 GMT+08:00 : > From: Jiejun Zhang > > This fixes #6940 > --- > libavcodec/audiotoolboxenc.c | 20 +++- > 1 file changed, 19 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/audiotoolboxenc.c b/libavcodec/audiotoolboxenc.c > index 71885d1530..b70375a692 100

[FFmpeg-devel] [PATCH] lavc/audiotoolboxenc: fix noise in encoded audio

2018-01-01 Thread zhangjiejun1992
From: Jiejun Zhang This fixes #6940 --- libavcodec/audiotoolboxenc.c | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/libavcodec/audiotoolboxenc.c b/libavcodec/audiotoolboxenc.c index 71885d1530..b70375a692 100644 --- a/libavcodec/audiotoolboxenc.c +++ b/l