[FFmpeg-devel] [PATCH] avformat: Don't free old extradata before ff_alloc/get_extradata

Michael Niedermayer michael at niedermayer.cc
Thu Dec 12 20:02:56 EET 2019


On Wed, Dec 11, 2019 at 12:21:07PM +0100, Andreas Rheinhardt wrote:
> These functions already free it themselves before they allocate the new
> extradata.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
> Resending because I got the commit title wrong: There is no
> ff_allocate_extradata.
> 
>  libavformat/avidec.c       | 2 --
>  libavformat/cafdec.c       | 7 ++-----
>  libavformat/concatdec.c    | 4 ----
>  libavformat/flic.c         | 1 -
>  libavformat/flvdec.c       | 1 -
>  libavformat/matroskaenc.c  | 1 -
>  libavformat/mov.c          | 4 ----
>  libavformat/nuv.c          | 4 ----
>  libavformat/oggparseogm.c  | 1 -
>  libavformat/oggparseopus.c | 1 -
>  libavformat/riffdec.c      | 2 --
>  libavformat/rtpdec_latm.c  | 1 -
>  libavformat/rtpdec_mpeg4.c | 2 +-
>  libavformat/rtpdec_qdm2.c  | 2 +-
>  libavformat/rtpdec_svq3.c  | 4 ----
>  libavformat/utils.c        | 1 -
>  libavformat/wavdec.c       | 1 -
>  libavformat/xmv.c          | 2 --
>  18 files changed, 4 insertions(+), 37 deletions(-)

will apply

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

During times of universal deceit, telling the truth becomes a
revolutionary act. -- George Orwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191212/be7594f5/attachment.sig>


More information about the ffmpeg-devel mailing list