Re: [FFmpeg-devel] [PATCH] avformat/oggenc: Don't free AVStream's priv_data, fix memleak

2020-04-20 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Andreas Rheinhardt: >> For FLAC, Speed, Opus and VP8 the Ogg muxer allocates two buffers >> for building the headers: The first for extradata in an Ogg-specific >> format and the second contains a Vorbiscomment. These buffers are >> reachable via pointers in the corresponding

Re: [FFmpeg-devel] [PATCH] avformat/oggenc: Don't free AVStream's priv_data, fix memleak

2020-04-19 Thread Andreas Rheinhardt
Andreas Rheinhardt: > For FLAC, Speed, Opus and VP8 the Ogg muxer allocates two buffers > for building the headers: The first for extradata in an Ogg-specific > format and the second contains a Vorbiscomment. These buffers are > reachable via pointers in the corresponding AVStream's priv_data. >

[FFmpeg-devel] [PATCH] avformat/oggenc: Don't free AVStream's priv_data, fix memleak

2020-04-13 Thread Andreas Rheinhardt
For FLAC, Speed, Opus and VP8 the Ogg muxer allocates two buffers for building the headers: The first for extradata in an Ogg-specific format and the second contains a Vorbiscomment. These buffers are reachable via pointers in the corresponding AVStream's priv_data. If an error happens during