Re: [FFmpeg-devel] [PATCH V2] lavf/matroskaenc: Fix memory leak after write trailer

2019-04-08 Thread myp...@gmail.com
On Mon, Apr 8, 2019 at 3:29 PM myp...@gmail.com wrote: > > On Mon, Apr 8, 2019 at 9:09 AM myp...@gmail.com wrote: > > > > > > > > On Fri, Apr 5, 2019 at 12:38 AM Andreas Rheinhardt via ffmpeg-devel > > wrote: > > > > > > Jun Zhao: > > > > From: Jun Zhao > > > > > > > > Fix memory leak after wr

Re: [FFmpeg-devel] [PATCH V2] lavf/matroskaenc: Fix memory leak after write trailer

2019-04-08 Thread myp...@gmail.com
On Mon, Apr 8, 2019 at 9:09 AM myp...@gmail.com wrote: > > > > On Fri, Apr 5, 2019 at 12:38 AM Andreas Rheinhardt via ffmpeg-devel > wrote: > > > > Jun Zhao: > > > From: Jun Zhao > > > > > > Fix memory leak after write trailer for #7827, only store a audio > > > packet whose buffer has size gre

Re: [FFmpeg-devel] [PATCH V2] lavf/matroskaenc: Fix memory leak after write trailer

2019-04-07 Thread myp...@gmail.com
On Fri, Apr 5, 2019 at 12:38 AM Andreas Rheinhardt via ffmpeg-devel < ffmpeg-devel@ffmpeg.org> wrote: > > Jun Zhao: > > From: Jun Zhao > > > > Fix memory leak after write trailer for #7827, only store a audio > > packet whose buffer has size greater than zero in cur_audio_pkt. > > > > Thanks to An

Re: [FFmpeg-devel] [PATCH V2] lavf/matroskaenc: Fix memory leak after write trailer

2019-04-04 Thread Andreas Rheinhardt via ffmpeg-devel
Jun Zhao: > From: Jun Zhao > > Fix memory leak after write trailer for #7827, only store a audio > packet whose buffer has size greater than zero in cur_audio_pkt. > > Thanks to Andreas Rheinhardt for the suggestions. > > Signed-off-by: Jun Zhao > --- > libavformat/matroskaenc.c |3 ++- >

[FFmpeg-devel] [PATCH V2] lavf/matroskaenc: Fix memory leak after write trailer

2019-04-04 Thread Jun Zhao
From: Jun Zhao Fix memory leak after write trailer for #7827, only store a audio packet whose buffer has size greater than zero in cur_audio_pkt. Thanks to Andreas Rheinhardt for the suggestions. Signed-off-by: Jun Zhao --- libavformat/matroskaenc.c |3 ++- 1 files changed, 2 insertions(+