ffmpeg/libavformat
Neil Birkbeck 3dabebc272 libavformat/matroskaenc.c: fix small memory leaks on error
Fixing small leaks that can occur when mkv_write_tracks fails in mkv_write_header
(e.g., if video track has unknown codec). Also changing mkv_write_seekhead to take
the MatroskaMuxContext to avoid having dangling pointers.

Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-08-19 13:17:21 +02:00
..
4xm.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
a64.c
aacdec.c
ac3dec.c avformat: increase first_frames threshold for mp3,ac3 2015-07-18 04:52:49 +02:00
act.c
adp.c
adtsenc.c
adxdec.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
aea.c
afc.c
aiff.h
aiffdec.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
aiffenc.c
allformats.c avformat/async: support filling with a background thread. 2015-07-18 01:46:50 +02:00
amr.c
anm.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
apc.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
ape.c
apetag.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
apetag.h
apngdec.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
apngenc.c
aqtitledec.c
asf.c
asf.h
asfcrypt.c
asfcrypt.h
asfdec_f.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
asfdec_o.c Merge commit '317cfaa5e09755ed0b34af512ec687963a67bdbf' 2015-08-18 09:35:56 +02:00
asfenc.c
assdec.c
assenc.c
ast.c
ast.h
astdec.c
astenc.c
async.c avformat/async: wake up main thread before exit background thread 2015-07-25 02:26:01 +02:00
au.c
audiointerleave.c
audiointerleave.h
avc.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
avc.h
avformat.h avformat: Move MAX_PROBE_PACKETS to internal.h 2015-08-12 17:33:47 +02:00
avformatres.rc
avi.h
avidec.c avformat/avidec: Simplify dshow_block_align based special case detection 2015-08-12 22:51:40 +02:00
avienc.c Replace av_dlog with ff_dlog. 2015-08-18 10:24:01 -04:00
avio_internal.h
avio.c lavf/avio: add ffurl_accept and ffurl_handshake 2015-08-01 00:58:31 +02:00
avio.h lavf/avio: add avio_accept and avio_handshake 2015-08-01 00:58:31 +02:00
aviobuf.c lavf/avio: add avio_accept and avio_handshake 2015-08-01 00:58:31 +02:00
avisynth.c avisynth: fix setting stream timebase 2015-08-13 01:20:16 +02:00
avlanguage.c
avlanguage.h
avr.c
avs.c
bethsoftvid.c
bfi.c
bink.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
bintext.c
bit.c
bluray.c
bmv.c
boadec.c
brstm.c
c93.c
cache.c
caf.c
caf.h
cafdec.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
cafenc.c
cavsvideodec.c
cdg.c
cdxl.c
cinedec.c
concat.c
concatdec.c concatdec: fix broken file_inpoint calculation 2015-08-11 11:19:17 +02:00
crcenc.c
crypto.c
cutils.c
dashenc.c
data_uri.c
dauddec.c
daudenc.c
dfa.c
diracdec.c
dnxhddec.c
dsfdec.c
dsicin.c
dss.c
dtsdec.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
dtshddec.c
dump.c avformat/dump: Also print pict_type in dump_sidedata() for AV_PKT_DATA_QUALITY_STATS 2015-07-22 21:04:17 +02:00
dv.c
dv.h
dvbsub.c
dvenc.c
dxa.c
eacdata.c
electronicarts.c
epafdec.c
ffm.h
ffmdec.c Replace av_dlog with ff_dlog. 2015-08-18 10:24:01 -04:00
ffmenc.c Merge commit '7c6eb0a1b7bf1aac7f033a7ec6d8cacc3b5c2615' 2015-07-27 22:10:35 +02:00
ffmeta.h
ffmetadec.c
ffmetaenc.c
file_open.c
file.c
filmstripdec.c
filmstripenc.c
flac_picture.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
flac_picture.h
flacdec.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
flacenc_header.c
flacenc.c
flacenc.h
flic.c
flv.h
flvdec.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
flvenc.c
format.c
framecrcenc.c
framehash.c
frmdec.c
ftp.c Replace av_dlog with ff_dlog. 2015-08-18 10:24:01 -04:00
g722.c
g723_1.c
g729dec.c
gif.c
gifdec.c avformat/gifdec: correct r_frame_rate for single frame gifs 2015-08-10 04:45:27 +02:00
golomb_tab.c
gopher.c
gsmdec.c
gxf.c
gxf.h
gxfenc.c
h261dec.c
h263dec.c
h264dec.c
hdsenc.c
hevc.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
hevc.h
hevcdec.c
hls.c FF_OPT_TYPE_* -> AV_OPT_TYPE_*. 2015-08-18 11:48:49 -04:00
hlsenc.c hlsenc: Use AV_TIME_BASE units for all the computations 2015-08-16 19:02:16 +02:00
hlsproto.c
hnm.c
http.c lavf/http: Implement server side network code. 2015-08-01 00:58:31 +02:00
http.h
httpauth.c
httpauth.h
icecast.c
icodec.c
icoenc.c
id3v1.c
id3v1.h
id3v2.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
id3v2.h
id3v2enc.c
idcin.c
idroqdec.c
idroqenc.c
iff.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
ilbc.c
img2_alias_pix.c
img2_brender_pix.c
img2.c
img2.h
img2dec.c
img2enc.c
ingenientdec.c
internal.h avformat: Move MAX_PROBE_PACKETS to internal.h 2015-08-12 17:33:47 +02:00
ipmovie.c avformat/ipmovie: Fix late audio detection 2015-07-26 04:00:02 +02:00
ircam.c
ircam.h
ircamdec.c
ircamenc.c
isom.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
isom.h Add support for Audible AAX (and AAX+) files 2015-07-19 20:28:39 +02:00
iss.c
iv8.c
ivfdec.c
ivfenc.c
jacosubdec.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
jacosubenc.c
jvdec.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
latmenc.c
libavformat.v
libgme.c
libmodplug.c
libnut.c
libquvi.c
librtmp.c
libsmbclient.c
libssh.c
lmlm4.c
loasdec.c
log2_tab.c
lrc.c
lrc.h
lrcdec.c
lrcenc.c
lvfdec.c
lxfdec.c
m4vdec.c
Makefile fate: add test for async protocol 2015-07-21 15:19:42 +02:00
matroska.c
matroska.h
matroskadec.c lavf/matroskadec: Fully parse and repack MP3 packets 2015-08-16 11:46:33 +02:00
matroskaenc.c libavformat/matroskaenc.c: fix small memory leaks on error 2015-08-19 13:17:21 +02:00
md5enc.c
md5proto.c
metadata.c
metadata.h
mgsts.c
microdvddec.c
microdvdenc.c
mkvtimestamp_v2.c
mlvdec.c
mm.c
mmf.c
mms.c
mms.h
mmsh.c
mmst.c
mov_chan.c
mov_chan.h
mov.c FF_OPT_TYPE_* -> AV_OPT_TYPE_*. 2015-08-18 11:48:49 -04:00
movenc.c Merge commit '26ac22e5e7394346e9d59f800e7d4e91f4518d33' 2015-08-18 08:50:22 +02:00
movenc.h Merge commit '26ac22e5e7394346e9d59f800e7d4e91f4518d33' 2015-08-18 08:50:22 +02:00
movenchint.c
mp3dec.c avformat/mp3dec: Rename sync() function to avoid build failure on android 2015-07-20 02:41:44 +02:00
mp3enc.c
mpc8.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
mpc.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
mpeg.c
mpeg.h
mpegenc.c
mpegts.c Replace av_dlog with ff_dlog. 2015-08-18 10:24:01 -04:00
mpegts.h
mpegtsenc.c avformat/mpegtsenc: Add sdt_period, similar to pat_period 2015-07-18 23:26:05 +02:00
mpegvideodec.c
mpjpeg.c
mpjpegdec.c
mpl2dec.c
mpsubdec.c
msnwc_tcp.c
mtv.c
mux.c Merge commit '7c6eb0a1b7bf1aac7f033a7ec6d8cacc3b5c2615' 2015-07-27 22:10:35 +02:00
mvdec.c
mvi.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
mxf.c lavf/mxfdec: Set codec_tag AVup for Avid 1:1 input. 2015-07-22 10:23:18 +02:00
mxf.h lavf/mxfdec: Set codec_tag AVup for Avid 1:1 input. 2015-07-22 10:23:18 +02:00
mxfdec.c mxfdec: set AVFMT_SEEK_TO_PTS demuxer flag 2015-08-14 14:20:25 +02:00
mxfenc.c
mxg.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
ncdec.c
network.c lavf/network: split ff_listen_bind into ff_listen and ff_accept 2015-08-01 00:58:31 +02:00
network.h lavf/network: split ff_listen_bind into ff_listen and ff_accept 2015-08-01 00:58:31 +02:00
nistspheredec.c
noproxy-test.c
nsvdec.c
nullenc.c
nut.c
nut.h
nutdec.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
nutenc.c avformat/nutenc: Omit AV_PKT_DATA_QUALITY_STATS when storing side data. 2015-07-25 18:39:17 +02:00
nuv.c
oggdec.c avformat/oggdec: ogg_read_seek: reset ogg after seeking 2015-07-29 23:22:12 +02:00
oggdec.h
oggenc.c
oggparsecelt.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
oggparsedirac.c
oggparseflac.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
oggparseogm.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
oggparseopus.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
oggparseskeleton.c
oggparsespeex.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
oggparsetheora.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
oggparsevorbis.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
oggparsevp8.c
oma.c
oma.h
omadec.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
omaenc.c
options_table.h
options.c
os_support.c
os_support.h
paf.c
pcm.c
pcm.h
pcmdec.c
pcmenc.c
pjsdec.c
pmpdec.c
psxstr.c
pva.c
pvfdec.c
qcp.c
qtpalette.h
r3d.c
rawdec.c rawdec: fix mjpeg probing buffer size check 2015-07-30 00:06:15 +02:00
rawdec.h
rawenc.c
rawenc.h
rawvideodec.c
rdt.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
rdt.h
realtextdec.c
redspark.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
replaygain.c
replaygain.h
riff.c
riff.h
riffdec.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
riffenc.c
rl2.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
rm.c
rm.h
rmdec.c avformat/rmdec: MLTI with multiple MDPR support 2015-08-14 04:40:00 +02:00
rmenc.c
rmsipr.c
rmsipr.h
rpl.c
rsd.c
rso.c
rso.h
rsodec.c
rsoenc.c
rtmp.h rtmpproto: use AVHMAC instead of a custom implementation 2015-07-29 22:09:16 +03:00
rtmpcrypt.c
rtmpcrypt.h
rtmpdh.c
rtmpdh.h
rtmphttp.c
rtmppkt.c
rtmppkt.h
rtmpproto.c rtmpproto: free hmac context properly 2015-07-30 09:26:49 +03:00
rtp.c
rtp.h
rtpdec_ac3.c
rtpdec_amr.c
rtpdec_asf.c
rtpdec_dv.c
rtpdec_formats.h
rtpdec_g726.c
rtpdec_h261.c
rtpdec_h263_rfc2190.c
rtpdec_h263.c
rtpdec_h264.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
rtpdec_hevc.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
rtpdec_ilbc.c
rtpdec_jpeg.c
rtpdec_latm.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
rtpdec_mpa_robust.c
rtpdec_mpeg4.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
rtpdec_mpeg12.c
rtpdec_mpegts.c
rtpdec_qcelp.c
rtpdec_qdm2.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
rtpdec_qt.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
rtpdec_svq3.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
rtpdec_vp8.c
rtpdec_vp9.c
rtpdec_xiph.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
rtpdec.c
rtpdec.h
rtpenc_aac.c
rtpenc_amr.c
rtpenc_chain.c
rtpenc_chain.h
rtpenc_h261.c
rtpenc_h263_rfc2190.c
rtpenc_h263.c
rtpenc_h264_hevc.c
rtpenc_jpeg.c lavf/rtpenc_jpeg: Warn if number of present quantization tables is not two. 2015-07-20 00:27:52 +02:00
rtpenc_latm.c
rtpenc_mpegts.c
rtpenc_mpv.c
rtpenc_vp8.c
rtpenc_xiph.c
rtpenc.c
rtpenc.h
rtpproto.c
rtpproto.h
rtsp.c Merge commit '764ec70149728be82304c163ccc4e280f1629201' 2015-07-30 18:37:37 +02:00
rtsp.h
rtspcodes.h
rtspdec.c
rtspenc.c
samidec.c
sapdec.c
sapenc.c
sauce.c
sauce.h
sbgdec.c
sctp.c
sdp.c Merge commit '7c6eb0a1b7bf1aac7f033a7ec6d8cacc3b5c2615' 2015-07-27 22:10:35 +02:00
sdr2.c
seek-test.c
segafilm.c
segment.c Replace av_dlog with ff_dlog. 2015-08-18 10:24:01 -04:00
sierravmd.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
siff.c
smacker.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
smjpeg.c
smjpeg.h
smjpegdec.c
smjpegenc.c
smoothstreamingenc.c
smush.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
sol.c
sox.h
soxdec.c
soxenc.c
spdif.c
spdif.h
spdifdec.c
spdifenc.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
srtdec.c
srtenc.c
srtp.c
srtp.h
srtpproto.c
stldec.c
subfile.c
subtitles.c
subtitles.h
subviewer1dec.c
subviewerdec.c
supdec.c
swf.c
swf.h
swfdec.c Replace av_dlog with ff_dlog. 2015-08-18 10:24:01 -04:00
swfenc.c
takdec.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
tcp.c lavf/tcp: increase range for listen and call the underlying socket operations accordingly 2015-08-01 00:58:31 +02:00
tedcaptionsdec.c FF_OPT_TYPE_* -> AV_OPT_TYPE_*. 2015-08-18 11:48:49 -04:00
tee.c
thp.c
tiertexseq.c
tls_gnutls.c avformat/tls_gnutls: correct version detection for certificate support 2015-08-13 02:24:37 +02:00
tls_openssl.c
tls_securetransport.c
tls.c
tls.h
tmv.c
tta.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
tty.c
txd.c
udp.c
uncodedframecrcenc.c
unix.c
url-test.c
url.c
url.h lavf/avio: add ffurl_accept and ffurl_handshake 2015-08-01 00:58:31 +02:00
urldecode.c
urldecode.h
utils.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba' 2015-07-27 23:15:19 +02:00
vc1test.c
vc1testenc.c
version.h avformat: bump micro version after adding concatdec features 2015-07-17 00:12:04 +02:00
vivo.c
voc.c
voc.h
vocdec.c
vocenc.c
vorbiscomment.c
vorbiscomment.h
vplayerdec.c
vqf.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
w64.c
w64.h
wavdec.c avformat/wavdec: Detect wrongly interpreted specification about the sample value in the fact chunk 2015-08-13 12:38:31 +02:00
wavenc.c
wc3movie.c
webm_chunk.c
webmdashenc.c
webpenc.c
webvttdec.c
webvttenc.c
westwood_aud.c
westwood_vqa.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
wtv_common.c
wtv.h
wtvdec.c
wtvenc.c
wv.c
wv.h
wvdec.c
wvenc.c
xa.c
xmv.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
xwma.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
yop.c lavc: Consistently prefix input buffer defines 2015-07-27 15:24:59 +01:00
yuv4mpeg.h
yuv4mpegdec.c
yuv4mpegenc.c