]> git.sesse.net Git - ffmpeg/commit
avformat: Don't free old extradata before ff_alloc/get_extradata
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 11 Dec 2019 11:21:07 +0000 (12:21 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 12 Dec 2019 18:25:33 +0000 (19:25 +0100)
commit82d61a9ce3e26cb950709689f537ad1fdfa830b3
tree8869800ee63dda5fa27955afe438b6aa53054644
parentc1e439d7e9abab3cebdc937636393b1656e095d9
avformat: Don't free old extradata before ff_alloc/get_extradata

These functions already free it themselves before they allocate the new
extradata.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
18 files changed:
libavformat/avidec.c
libavformat/cafdec.c
libavformat/concatdec.c
libavformat/flic.c
libavformat/flvdec.c
libavformat/matroskaenc.c
libavformat/mov.c
libavformat/nuv.c
libavformat/oggparseogm.c
libavformat/oggparseopus.c
libavformat/riffdec.c
libavformat/rtpdec_latm.c
libavformat/rtpdec_mpeg4.c
libavformat/rtpdec_qdm2.c
libavformat/rtpdec_svq3.c
libavformat/utils.c
libavformat/wavdec.c
libavformat/xmv.c