ffmpeg/libavformat
Martin Storsjö 803e82276b libavformat: Check mkdir return error codes
Previously, the returned error codes were intentionally ignored
(see fadd3a6821), to avoid aborting if the directory already
existed. If the mkdir actually failed, this was caught when
opening files within the directory fails anyway.

By handling the error code here (but explicitly ignoring EEXIST),
the error messages and return codes in these cases are more
appropriate and less confusing.

Signed-off-by: Martin Storsjö <martin@martin.st>
2014-09-07 23:20:29 +03:00
..
4xm.c 4xm: allocate extradata properly. 2014-05-18 10:19:35 +02:00
a64.c a64: Return correct error code on invalid data stream 2014-08-14 01:22:47 -07:00
aacdec.c aac: Register the mime type 2014-07-29 17:47:32 +02:00
ac3dec.c
adtsenc.c adts: Return more meaningful error codes 2014-08-21 04:25:48 -07:00
adxdec.c adxdec: get rid of an avpriv function 2014-07-09 13:37:18 +00:00
aea.c
aiff.h
aiffdec.c
aiffenc.c
allformats.c ogg: Provide aliases for Speex, Opus and audio-only ogg 2014-08-22 13:23:50 +02:00
amr.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
anm.c
apc.c
ape.c
apetag.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
apetag.h
asf.c
asf.h
asfcrypt.c
asfcrypt.h
asfdec.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
asfenc.c asfenc: use codec descriptors instead of AVCodecs to write codec info 2014-05-01 09:26:20 +02:00
assdec.c ass: K&R formatting cosmetics 2014-03-02 13:23:13 +01:00
assenc.c
au.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
audiointerleave.c avpacket: Check for and return errors in ff_interleave_add_packet() 2014-07-17 03:18:46 -07:00
audiointerleave.h
avc.c
avc.h
avformat.h lavf: add AVFormatContext.max_ts_probe 2014-08-25 05:17:54 +00:00
avi.h
avidec.c avi: Improve non-interleaved detection 2014-04-02 12:11:31 +02:00
avienc.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
avio_internal.h mp3dec: decode more data from Info header 2014-04-17 20:08:19 +02:00
avio.c cosmetics: Write NULL pointer inequality checks more compactly 2014-08-15 05:34:13 -07:00
avio.h doxygen: Add a number of missing function parameter descriptions 2014-02-17 15:36:09 +01:00
aviobuf.c mp3dec: decode more data from Info header 2014-04-17 20:08:19 +02:00
avisynth.c avisynth: set duration of audio streams 2014-05-16 14:41:02 +02:00
avlanguage.c
avlanguage.h
avs.c cosmetics: Write NULL pointer equality checks more compactly 2014-08-15 03:18:18 -07:00
bethsoftvid.c
bfi.c
bink.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
bmv.c
c93.c
caf.c
caf.h
cafdec.c mov: Drop unused parameter from ff_mov_read_esds() 2014-08-19 06:22:07 -07:00
cavsvideodec.c
cdg.c cdg: Forward error from avio_size() in read_header() function 2014-07-10 12:38:54 -07:00
cdxl.c
concat.c
crcenc.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
crypto.c
cutils.c
dauddec.c daud: split muxer and demuxer 2014-07-03 10:46:11 -07:00
daudenc.c daud: split muxer and demuxer 2014-07-03 10:46:11 -07:00
dfa.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
diracdec.c
dnxhddec.c
dsicin.c
dtsdec.c
dump.c avcodec: add stream-level stereo3d side data 2014-08-28 12:33:26 -04:00
dv.c lavc: export DV profile API used by muxer/demuxer as public 2014-07-09 13:35:07 +00:00
dv.h
dvenc.c lavc: export DV profile API used by muxer/demuxer as public 2014-07-09 13:35:07 +00:00
dxa.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
eacdata.c
electronicarts.c electronicarts: set the framerate for TGQ/TQI 2014-08-22 11:15:20 +00:00
ffmeta.h
ffmetadec.c
ffmetaenc.c
file_open.c
file.c
filmstripdec.c
filmstripenc.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
flac_picture.c
flac_picture.h
flacdec.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
flacenc_header.c flac muxer: support reading updated extradata from side data 2014-06-01 08:32:33 +02:00
flacenc.c flac muxer: support reading updated extradata from side data 2014-06-01 08:32:33 +02:00
flacenc.h flac muxer: support reading updated extradata from side data 2014-06-01 08:32:33 +02:00
flic.c
flv.h
flvdec.c flvdec: update AVFormatContext.event_flags with METADATA_UPDATED whenever metadata changes. 2014-08-13 16:23:28 +00:00
flvenc.c flvenc: Don't over-count metadata. 2014-06-17 21:38:21 +02:00
format.c cosmetics: Write NULL pointer inequality checks more compactly 2014-08-15 05:34:13 -07:00
framecrcenc.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
framehash.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
g722.c
g723_1.c
gif.c
gopher.c
gsmdec.c
gxf.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
gxf.h
gxfenc.c
h261dec.c
h263dec.c
h264dec.c
hdsenc.c libavformat: Check mkdir return error codes 2014-09-07 23:20:29 +03:00
hevc.c lavf: always use av_free 2014-03-10 18:02:55 +01:00
hevc.h lavf: simplify ff_hevc_annexb2mp4_buf 2014-03-10 18:02:36 +01:00
hevcdec.c
hls.c
hlsenc.c hlsenc: Set the default codecs to AAC and H264 2014-05-17 01:34:16 +03:00
hlsproto.c
hnm.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
http.c cosmetics: Write NULL pointer inequality checks more compactly 2014-08-15 05:34:13 -07:00
http.h http: Use a constant for the supported header size 2014-07-22 16:38:26 +02:00
httpauth.c
httpauth.h
icecast.c Add Icecast protocol 2014-08-04 12:56:42 +03:00
id3v1.c
id3v1.h
id3v2.c
id3v2.h
id3v2enc.c id3v2enc: use a case-insensitive comparison for APIC picture type 2014-07-03 18:40:37 +00:00
idcin.c
idroqdec.c
idroqenc.c
iff.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
ilbc.c
img2.c OpenEXR decoder 2014-04-01 01:13:09 +02:00
img2dec.c
img2enc.c Alias PIX image encoder and decoder 2014-03-26 23:25:02 +01:00
ingenientdec.c
internal.h lavf: eliminate ff_get_audio_frame_size() 2014-08-13 17:41:11 +00:00
ipmovie.c
isom.c Silicon Graphics RLE 8-bit video decoder 2014-04-19 16:24:26 +02:00
isom.h mov: Drop unused parameter from ff_mov_read_esds() 2014-08-19 06:22:07 -07:00
iss.c
iv8.c
ivfdec.c
ivfenc.c
jvdec.c jv: detect partial packets in the demuxer 2014-02-12 20:12:18 +01:00
latmenc.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
libavformat.v
librtmp.c librtmp: Don't free the temp url at the end of rtmp_open 2014-07-06 17:49:02 +03:00
lmlm4.c
log2_tab.c
lxfdec.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
m4vdec.c
Makefile rtpdec: HEVC/H.265 support 2014-09-03 02:39:24 +02:00
matroska.c matroskadec: parse stereo mode on decoding 2014-08-28 12:33:26 -04:00
matroska.h matroskadec: parse stereo mode on decoding 2014-08-28 12:33:26 -04:00
matroskadec.c matroskadec: parse stereo mode on decoding 2014-08-28 12:33:26 -04:00
matroskaenc.c matroskaenc: convert avstream stereo3d side data during encoding 2014-08-28 12:35:27 -04:00
md5enc.c
md5proto.c
metadata.c
metadata.h
mm.c
mmf.c
mms.c
mms.h
mmsh.c
mmst.c
mov_chan.c
mov_chan.h
mov.c mov: Drop unused parameter from ff_mov_read_esds() 2014-08-19 06:22:07 -07:00
movenc.c vc1: Split bits used in libavformat into a separate header 2014-09-04 07:11:03 -07:00
movenc.h movenc: add track title to tracks 2014-08-06 13:27:17 -07:00
movenchint.c
mp3dec.c mp3dec: decode more data from Info header 2014-04-17 20:08:19 +02:00
mp3enc.c Check mp3 header before calling avpriv_mpegaudio_decode_header(). 2014-06-22 20:31:58 -04:00
mpc8.c
mpc.c
mpeg.c mpeg: K&R formatting cosmetics 2014-03-24 02:22:15 +01:00
mpeg.h mpeg: Write H264 streams at offset 2 2014-08-26 03:43:13 +02:00
mpegenc.c mpegenc: limit the maximum muxrate 2014-08-27 06:21:54 +00:00
mpegts.c mpegts: Allow custom max resync size 2014-09-03 02:38:03 +02:00
mpegts.h mpegts: Add HEVC definitions 2014-08-05 11:30:50 +02:00
mpegtsenc.c mpegts: Do not try to write a PMT larger than SECTION_SIZE 2014-08-13 12:43:26 -07:00
mpegvideodec.c
mpjpeg.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
msnwc_tcp.c
mtv.c mtv: do not set sample_rate for video 2014-07-09 13:38:26 +00:00
mux.c avpacket: Check for and return errors in ff_interleave_add_packet() 2014-07-17 03:18:46 -07:00
mvdec.c Silicon Graphics Movie demuxer 2014-04-19 16:24:27 +02:00
mvi.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
mxf.c mxf: Support AAC 2014-08-17 16:11:16 +02:00
mxf.h mxf: Add UID print helpers 2014-08-17 16:11:02 +02:00
mxfdec.c mxf: Support AAC 2014-08-17 16:11:16 +02:00
mxfenc.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
mxg.c
ncdec.c
network.c
network.h libavformat: use MSG_NOSIGNAL when applicable 2014-08-25 10:49:14 +03:00
noproxy-test.c
nsvdec.c cosmetics: Write NULL pointer equality checks more compactly 2014-08-15 03:18:18 -07:00
nullenc.c
nut.c raw, nut: Support rgba64 encoding 2014-03-16 23:29:51 +01:00
nut.h nut: Support experimental NUT 4 features 2014-05-28 22:04:56 +02:00
nutdec.c nutdec: update AVFormatContext.event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:23:36 +00:00
nutenc.c riffenc: take an AVStream instead of an AVCodecContext 2014-06-18 15:03:55 +02:00
nuv.c
oggdec.c
oggdec.h ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oggenc.c ogg: Use separate classes for the aliases 2014-08-23 02:42:18 +02:00
oggparsecelt.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oggparsedirac.c
oggparseflac.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oggparseogm.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oggparseopus.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oggparseskeleton.c oggparseskeleton: do not use AVCodecContext.codec_name 2014-05-01 09:26:02 +02:00
oggparsespeex.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oggparsetheora.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oggparsevorbis.c ogg: update event_flags with STREAM_/METADATA_UPDATED whenever metadata changes. 2014-08-13 16:25:19 +00:00
oma.c
oma.h
omadec.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
omaenc.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
options_table.h lavf: add AVFormatContext.max_ts_probe 2014-08-25 05:17:54 +00:00
options.c lavf: ignore attachment streams for interleaving purposes 2014-02-04 11:17:06 +01:00
os_support.c
os_support.h os_support: Adjust an outdated #endif comment 2014-08-26 06:34:41 -07:00
paf.c PAF demuxer and decoder 2014-03-27 23:34:47 +01:00
pcm.c
pcm.h
pcmdec.c pcmdec: replace a reachable assert with an error check 2014-02-10 07:41:21 +01:00
pcmenc.c
pmpdec.c
psxstr.c
pva.c
qcp.c
qtpalette.h
r3d.c
rawdec.c latm: Add a probe function 2014-05-03 18:51:17 +02:00
rawdec.h
rawenc.c Add raw HEVC muxer 2014-02-09 14:15:44 +00:00
rawenc.h
rawvideodec.c
rdt.c rdt: check malloc calls 2014-05-24 07:51:12 +02:00
rdt.h
replaygain.c replaygain: allow exporting already decoded replaygain values 2014-04-17 20:08:19 +02:00
replaygain.h replaygain: allow exporting already decoded replaygain values 2014-04-17 20:08:19 +02:00
riff.c On2 AVC decoder 2014-04-23 19:57:44 +02:00
riff.h riffenc: take an AVStream instead of an AVCodecContext 2014-06-18 15:03:55 +02:00
riffdec.c
riffenc.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
rl2.c
rm.c
rm.h
rmdec.c Replace av_malloc() and memset(0) by av_mallocz() 2014-06-22 18:43:11 +02:00
rmenc.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
rmsipr.c
rmsipr.h
rpl.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
rso.c
rso.h
rsodec.c
rsoenc.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
rtmp.h
rtmpcrypt.c
rtmpcrypt.h
rtmpdh.c
rtmpdh.h
rtmphttp.c
rtmppkt.c rtmppkt: Add method to read an AMF string that is not prefixed by its type 2014-06-01 23:30:33 +03:00
rtmppkt.h rtmppkt: Add method to read an AMF string that is not prefixed by its type 2014-06-01 23:30:33 +03:00
rtmpproto.c cosmetics: Write NULL pointer inequality checks more compactly 2014-08-15 05:34:13 -07:00
rtp.c
rtp.h
rtpdec_amr.c rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpdec_asf.c rtpdec_asf: Copy the need_parsing field from the chained demuxer 2014-01-23 17:37:10 +02:00
rtpdec_formats.h rtpdec: HEVC/H.265 support 2014-09-03 02:39:24 +02:00
rtpdec_g726.c
rtpdec_h263_rfc2190.c
rtpdec_h263.c
rtpdec_h264.c rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpdec_hevc.c rtpdec: HEVC/H.265 support 2014-09-03 02:39:24 +02:00
rtpdec_ilbc.c rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpdec_jpeg.c
rtpdec_latm.c rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpdec_mpeg4.c rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpdec_mpeg12.c
rtpdec_mpegts.c
rtpdec_qcelp.c
rtpdec_qdm2.c
rtpdec_qt.c
rtpdec_svq3.c
rtpdec_vp8.c
rtpdec_xiph.c rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpdec.c rtpdec: HEVC/H.265 support 2014-09-03 02:39:24 +02:00
rtpdec.h rtpdec: pass an AVFormatContext to ff_parse_fmtp() 2014-07-09 13:40:54 +00:00
rtpenc_aac.c
rtpenc_amr.c
rtpenc_chain.c rtpenc_chain: Don't copy the time base to the source stream by default 2014-05-31 12:02:23 +03:00
rtpenc_chain.h
rtpenc_h263_rfc2190.c
rtpenc_h263.c
rtpenc_h264.c
rtpenc_jpeg.c rtpenc_jpeg: check for color_range too 2014-06-28 01:51:14 -04:00
rtpenc_latm.c
rtpenc_mpv.c
rtpenc_vp8.c
rtpenc_xiph.c
rtpenc.c cosmetics: Write NULL pointer equality checks more compactly 2014-08-15 03:18:18 -07:00
rtpenc.h
rtpproto.c
rtpproto.h
rtsp.c rtsp: Support misordered fmtp rtpmap 2014-06-18 22:03:40 +02:00
rtsp.h
rtspcodes.h
rtspdec.c cosmetics: Write NULL pointer equality checks more compactly 2014-08-15 03:18:18 -07:00
rtspenc.c cosmetics: Write NULL pointer equality checks more compactly 2014-08-15 03:18:18 -07:00
sapdec.c
sapenc.c rtpenc_chain: Don't copy the time base to the source stream by default 2014-05-31 12:02:23 +03:00
sauce.c
sauce.h
sctp.c libavformat: use MSG_NOSIGNAL when applicable 2014-08-25 10:49:14 +03:00
sdp.c cosmetics: Write NULL pointer equality checks more compactly 2014-08-15 03:18:18 -07:00
seek-test.c
seek.c
seek.h
segafilm.c
segment.c cosmetics: Write NULL pointer inequality checks more compactly 2014-08-15 05:34:13 -07:00
sierravmd.c
siff.c
smacker.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
smjpeg.c
smjpeg.h
smjpegdec.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
smjpegenc.c
smoothstreamingenc.c libavformat: Check mkdir return error codes 2014-09-07 23:20:29 +03:00
smush.c LucasArts SMUSH demuxer 2014-04-06 16:41:41 +02:00
sol.c
sox.h
soxdec.c
soxenc.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
spdif.c
spdif.h
spdifdec.c
spdifenc.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
srtdec.c
srtp.c
srtp.h
srtpproto.c
swf.c
swf.h lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
swfdec.c
swfenc.c lavf: switch to AVStream.time_base as the hint for the muxer timebase 2014-06-18 15:12:34 +02:00
takdec.c
tcp.c libavformat: use MSG_NOSIGNAL when applicable 2014-08-25 10:49:14 +03:00
thp.c
tiertexseq.c
tls.c cosmetics: Write NULL pointer inequality checks more compactly 2014-08-15 05:34:13 -07:00
tmv.c
tta.c
tty.c
txd.c txd: do not set the codec timebase. 2014-04-22 07:44:16 +02:00
udp.c
unix.c libavformat: use MSG_NOSIGNAL when applicable 2014-08-25 10:49:14 +03:00
url-test.c
url.c cosmetics: Write NULL pointer inequality checks more compactly 2014-08-15 05:34:13 -07:00
url.h avformat: Mark argument in av_{i|o}format_next/ffurl_protocol_next as const 2014-07-26 14:51:16 -07:00
urldecode.c
urldecode.h
utils.c lavf: add AVFormatContext.max_ts_probe 2014-08-25 05:17:54 +00:00
vc1test.c vc1test: Check malloc call 2014-07-06 09:25:52 -07:00
vc1testenc.c
version.h rtpdec: HEVC/H.265 support 2014-09-03 02:39:24 +02:00
voc.c
voc.h
vocdec.c
vocenc.c lavf: add the notimestamps flag to the muxers missing it 2014-06-18 15:03:31 +02:00
vorbiscomment.c vorbiscomment: simplify API by using av_dict_count() 2014-05-28 07:54:54 +02:00
vorbiscomment.h vorbiscomment: simplify API by using av_dict_count() 2014-05-28 07:54:54 +02:00
vqf.c
wavdec.c
wavenc.c wavenc: use codec descriptors to get the codec name 2014-05-18 20:33:38 +02:00
wc3movie.c
westwood_aud.c
westwood_vqa.c
wtv.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
wv.c
wv.h
wvdec.c
wvenc.c
xa.c
xmv.c lavf: more correct printf format specifiers 2014-03-11 13:13:41 +01:00
xwma.c
yop.c yop: only set extradata size after it has been successfully allocated 2014-05-18 10:22:42 +02:00
yuv4mpeg.h yuv4mpeg: split the demuxer and muxer into separate files 2014-05-18 10:21:31 +02:00
yuv4mpegdec.c yuv4mpegdec: do not set coded_frame properties 2014-05-18 10:22:08 +02:00
yuv4mpegenc.c yuv4mpegenc: do not access AVCodecContext.coded_frame 2014-07-09 13:40:39 +00:00