FFmpeg/libavformat
Ronald S. Bultje 47f944a2ef Move malloc() down until after all initializations, so that the resource is
only allocated if initialization worked. This means that on failure, we
don't have to deallocate it.

Originally committed as revision 14924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 18:46:30 +00:00
..
4xm.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
adtsenc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
aiff.c Make AIFF demuxer handle F32BE and F64BE PCM audio. 2008-08-19 11:05:29 +00:00
allformats.c Add D-Cinema audio muxer 2008-08-04 07:35:07 +00:00
amr.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
apc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
ape.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
asf-enc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
asf.c ASF: use dprintf(), allow compilation with -DDEBUG 2008-07-13 19:41:07 +00:00
asf.h typo: begining --> beginning 2007-12-23 21:01:09 +00:00
asfcrypt.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
asfcrypt.h
au.c Make AU demuxer handle S24BE, S32BE and F64BE PCM audio. 2008-08-19 10:49:38 +00:00
avc.c Fix misplaced const, avoids a cast-discards-qualifiers warning 2008-02-19 16:18:17 +00:00
avc.h const 2008-02-19 16:08:52 +00:00
avformat.h Add flag to mark demuxers that can output discontinuous timestamps. 2008-08-15 16:13:05 +00:00
avi.h avi.h does not use anything from avcodec.h. 2008-03-03 22:56:07 +00:00
avidec.c change assert test due to the new reducing of time_base in av_set_pts_info, fix #561 2008-07-30 21:07:54 +00:00
avienc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
avio.c Implement url_open_protocol(), which is basiclly the former url_open() 2008-08-19 23:44:23 +00:00
avio.h Implement url_open_protocol(), which is basiclly the former url_open() 2008-08-19 23:44:23 +00:00
aviobuf.c Only reset buffer state if seeking is successful; update seek reg ref. 2008-07-31 19:40:06 +00:00
avisynth.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
avs.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
bethsoftvid.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
bfi.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
c93.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
crcenc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
cutils.c Do not loop endlessly if converting into dv with timestamps Jan 1st not 2008-05-21 07:05:08 +00:00
daud.c Add D-Cinema audio muxer 2008-08-04 07:35:07 +00:00
dsicin.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
dv.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
dv.h
dvenc.c cosmetics: Fix two common typos: wont --> will not, lets --> let us. 2008-07-24 17:09:28 +00:00
dxa.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
eacdata.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
electronicarts.c Support Electronic Arts files containing MP3 audio. 2008-08-18 12:39:57 +00:00
ffm.h Recommit r14497 2008-08-01 23:12:10 +00:00
ffmdec.c Improve long names for FFM muxer and demuxer: 2008-07-27 20:59:40 +00:00
ffmenc.c Fix rc_eq mem leak. 2008-08-16 14:46:31 +00:00
file.c remove const qualifier, removes warning: 2008-05-27 01:19:19 +00:00
flic.c Make flic probe check a few more things. 2008-07-14 22:55:07 +00:00
flv.h add new h264 and aac flv ids 2008-05-23 22:02:29 +00:00
flvdec.c skip flv video info / command frame packets, fix issue #546 2008-07-31 02:26:40 +00:00
flvenc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
framecrcenc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
framehook.c Rename two structures, identifiers starting with _[A-Z] are reserved. 2008-01-06 16:02:55 +00:00
framehook.h Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
gif.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
gxf.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
gxf.h
gxfenc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
http.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
idcin.c remove useless close funcs 2008-06-19 23:25:04 +00:00
idroq.c remove useless close funcs 2008-06-19 23:25:04 +00:00
iff.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
img2.c Remove useless img_read_close(). 2008-06-06 17:02:06 +00:00
ipmovie.c remove useless close funcs 2008-06-19 23:25:04 +00:00
isom.c Make MOV demuxer handle F32BE, F32LE, F64BE and F64LE PCM audio. 2008-08-19 11:00:40 +00:00
isom.h Set correct codec type and id for text subtitles. 2008-01-26 20:30:03 +00:00
libnut.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
lmlm4.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
Makefile Factorize common code out of the mxf demuxer. 2008-08-18 17:54:18 +00:00
matroska.c matroska: add support for most variants of PCM 2008-08-20 00:49:45 +00:00
matroska.h matroskadec: list some more ebml IDs found in the wild and that we ignore 2008-08-13 21:15:15 +00:00
matroskadec.c matroskadec: fail cleanly when the required compression lib is not compiled in 2008-08-20 23:08:07 +00:00
matroskaenc.c misc spelling/grammar fixes 2008-08-05 08:28:57 +00:00
mm.c Remove AVPaletteControl from ALG MM demuxer/decoder 2008-07-08 12:44:08 +00:00
mmf.c Move a function and an #ifdef CONFIG_MUXERS so that functions used only for 2008-07-11 07:39:33 +00:00
mov.c enable fl32/64 le/be in mov with stsd audio v2 2008-08-23 15:25:38 +00:00
movenc.c clarify error message about codec tag 2008-06-27 21:29:11 +00:00
mp3.c strcasecmp() requires #include <strings.h> 2008-08-13 17:22:53 +00:00
mpc8.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
mpc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
mpeg.c Add flag to mark demuxers that can output discontinuous timestamps. 2008-08-15 16:13:05 +00:00
mpeg.h Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
mpegenc.c Replace invocations of av_fifo_realloc(), which is going to be 2008-08-19 18:49:57 +00:00
mpegts.c Add flag to mark demuxers that can output discontinuous timestamps. 2008-08-15 16:13:05 +00:00
mpegts.h Dirac encapsulation in MPEG-TS 2008-08-13 19:29:35 +00:00
mpegtsenc.c Change Dirac in MPEG-TS encapsulation to conform with spec changes. 2008-08-14 11:17:23 +00:00
mpjpeg.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
msnwc_tcp.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
mtv.c Change mtv_read_packet so it does not break after seeking (displaying a shifted image). 2008-06-28 09:01:16 +00:00
mvi.c Motion Pixels MVI Demuxer. 2008-07-10 03:02:19 +00:00
mxf.c Ok-ed parts from patch by zhentan feng. 2008-08-19 22:01:57 +00:00
mxf.h Apply parts of MXF muxer ok'ed by Michael 2008-08-22 04:12:52 +00:00
mxfdec.c Remove useless #ifdef DEBUG (patch by Zhentan Feng). 2008-08-19 21:58:47 +00:00
mxfenc.c Apply parts of MXF muxer ok'ed by Michael 2008-08-22 04:12:52 +00:00
network.h
nsvdec.c Try to fix FATE after my time_base simplification change. 2008-07-17 14:13:44 +00:00
nut.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
nut.h Revert r14497 2008-08-01 22:29:29 +00:00
nutdec.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
nutenc.c remove a comment which is no longer true 2008-08-03 16:41:52 +00:00
nuv.c Fix handling of old nuv files where an aspect of 1 actually means 4/3 2008-07-25 04:10:32 +00:00
oggdec.c Remove start_time guessing code. 2008-06-26 13:42:26 +00:00
oggdec.h Revert r14497 2008-08-01 22:29:29 +00:00
oggenc.c add ogv extension 2008-07-19 03:29:16 +00:00
oggparseflac.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
oggparseogm.c parse audio in ogm demuxer. 2008-05-26 00:45:02 +00:00
oggparsespeex.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
oggparsetheora.c Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
oggparsevorbis.c OGG: Add padding at end of Vorbis headers 2008-07-15 23:00:29 +00:00
oma.c Add support for mp3 contained in oma 2008-06-25 19:59:52 +00:00
os_support.c struct timeval requires #include <sys/time.h> 2008-08-16 18:39:30 +00:00
os_support.h Revert r14497 2008-08-01 22:29:29 +00:00
psxstr.c simplify 2008-07-11 15:12:44 +00:00
pva.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
qtpalette.h Fix make checkheaders. 2007-12-03 12:46:20 +00:00
raw.c Surround format-specific functions with matching preprocessor conditionals. 2008-08-15 19:24:55 +00:00
raw.h Revert r14497 2008-08-01 22:29:29 +00:00
riff.c Make RIFF-based demuxers handle F32LE and F64LE PCM audio. 2008-08-19 10:54:30 +00:00
riff.h Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
rl2.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
rm.h Revert r14497 2008-08-01 22:29:29 +00:00
rmdec.c Remove unused variable, fixes the warning: 2008-06-23 08:52:44 +00:00
rmenc.c cosmetics: make all references to AC-3 capitalized and hyphenated 2008-08-03 16:42:32 +00:00
rpl.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
rtp_aac.c
rtp_aac.h Revert r14497 2008-08-01 22:29:29 +00:00
rtp_h264.c Fix non-debug build. 2008-05-13 17:43:18 +00:00
rtp_h264.h Revert r14497 2008-08-01 22:29:29 +00:00
rtp_internal.h Use full path for #includes from another directory. 2008-05-09 11:56:36 +00:00
rtp_mpv.c Fix MPEG video packetization for RTP 2008-07-10 07:40:54 +00:00
rtp_mpv.h Revert r14497 2008-08-01 22:29:29 +00:00
rtp.c Do not set sample_rate = 90000 for mp2 and mp3 audio over RTP 2008-06-24 11:07:04 +00:00
rtp.h Revert r14497 2008-08-01 22:29:29 +00:00
rtpdec.c Do not set timestamp information for a non existing AVStream 2008-08-22 19:03:05 +00:00
rtpenc_h264.c Add some const, fixes warnings: 2008-02-19 22:07:48 +00:00
rtpenc.c RTP: use dprintf(), allow compilation with -DDEBUG 2008-07-13 19:41:10 +00:00
rtpproto.c Surround '#include <sys/select>' by HAVE_SYS_SELECT_H. 2008-08-14 14:29:18 +00:00
rtsp.c ensure we get explicit definition of various _XOPEN_SOURCE functions we use 2008-08-14 22:01:59 +00:00
rtsp.h Allow cycling between different protocols (TCP, UDP or multicast) so that if 2008-03-19 14:05:08 +00:00
rtspcodes.h
sdp.c Fix a typo in sdp_write_header(): change "IPV4", which is not a valid 2008-07-29 10:45:53 +00:00
segafilm.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
sierravmd.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
siff.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
smacker.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
sol.c remove useless close funcs 2008-06-19 23:25:04 +00:00
swf.h Recommit r14497 2008-08-01 23:12:10 +00:00
swfdec.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
swfenc.c update swf video frame number when muxing done, fix #439 2008-07-19 03:25:50 +00:00
tcp.c Move malloc() down until after all initializations, so that the resource is 2008-08-23 18:46:30 +00:00
thp.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
tiertexseq.c Remove inaccurate computation of pts for audio packets and rely on 2008-07-06 10:00:12 +00:00
tta.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
txd.c remove useless close funcs 2008-06-19 23:25:04 +00:00
udp.c Fix memleak on some OSes in case network initialization fails. See 2008-08-23 17:39:56 +00:00
utils.c Do not fill the pts reordering buffer with guessed dts. 2008-08-14 03:24:58 +00:00
vc1test.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
vc1testenc.c Remove unused variable. 2008-08-13 18:32:16 +00:00
voc.c
voc.h
vocdec.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
vocenc.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
wav.c remove useless close funcs 2008-06-19 23:25:04 +00:00
wc3movie.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
westwood.c remove useless close funcs 2008-06-19 23:25:04 +00:00
wv.c remove useless close func 2008-06-19 22:57:00 +00:00
xa.c Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 2008-06-03 16:20:54 +00:00
yuv4mpeg.c Move functions only used for muxing below #ifdef CONFIG_YUV4MPEGPIPE_MUXER, 2008-07-11 07:37:22 +00:00