Re: [FFmpeg-devel] [PATCH 2/3] avformat/mpc: Simplify cleanup

2020-04-18 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Andreas Rheinhardt: >> Currently Musepack allocates an array that needs to be freed later in >> the demuxer's read_close-function; it is the sole reason for said >> function's existence. But it is unnecessary, because one can store this >> array in the stream's priv_data point

Re: [FFmpeg-devel] [PATCH 2/3] avformat/mpc: Simplify cleanup

2020-04-17 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Currently Musepack allocates an array that needs to be freed later in > the demuxer's read_close-function; it is the sole reason for said > function's existence. But it is unnecessary, because one can store this > array in the stream's priv_data pointer, so that it will be fre

[FFmpeg-devel] [PATCH 2/3] avformat/mpc: Simplify cleanup

2020-04-02 Thread Andreas Rheinhardt
Currently Musepack allocates an array that needs to be freed later in the demuxer's read_close-function; it is the sole reason for said function's existence. But it is unnecessary, because one can store this array in the stream's priv_data pointer, so that it will be freed generically. Signed-off-