ffmpeg/libavformat
Martin Storsjö fbf7e805b0 Only consider -1 as an error return value for open().
This is:
 - what Posix says (-1 on error, >=0 on success)
 - fixing a bug on winCE (<0 sometimes)

Patch by Martin Storsjö: martin martin st

Originally committed as revision 19513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-27 12:36:22 +00:00
..
4xm.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
adtsenc.c Use av_log_missing_feature in the ADTS encoder. (Pseudo reverts r19173). 2009-06-29 22:48:07 +00:00
aiff.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
allformats.c Implement SoX native format muxer and demuxer. 2009-05-30 18:51:15 +00:00
amr.c Change semantic of CONFIG_*, HAVE_* and ARCH_*. 2009-01-13 23:44:16 +00:00
apc.c Bump Major version, this commit is almost just renaming bits_per_sample to 2008-09-08 14:24:59 +00:00
ape.c apedec: display a warning when truncating a metadata tag 2009-02-17 15:44:11 +00:00
asf.c Per-stream language-tags extraction in asfdec. 2009-05-12 12:35:46 +00:00
asf.h Remove any reference to ASFContext.packet_size and replace it with 2009-06-24 23:04:05 +00:00
asfcrypt.c Add and use a public API for RC4 and DES, analogous to the AES API. 2009-02-03 14:20:55 +00:00
asfcrypt.h Globally rename the header inclusion guard names. 2008-08-31 07:39:47 +00:00
asfdec.c Add handling of EAGAIN at packet boundaries. See "[PATCH] RTSP-MS 14/15: 2009-07-26 19:09:35 +00:00
asfenc.c Remove any reference to ASFContext.packet_size and replace it with 2009-06-24 23:04:05 +00:00
assdec.c Silence "assdec.c:146: warning: passing argument 4 of ‘qsort’ from incompatible pointer type" 2009-02-14 15:44:46 +00:00
assenc.c ASS/SSA muxer. 2008-09-26 19:42:21 +00:00
au.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
audiointerleave.c Reorder arguments for av_fifo_generic_read to be more logical and 2009-03-09 17:47:47 +00:00
audiointerleave.h Allocate AVFifoBuffer through the fifo API to reduce future API/ABI issues. 2009-03-08 14:16:55 +00:00
avc.c Use intptr_t when casting pointers to int. 2009-03-26 01:34:02 +00:00
avc.h 10l, fix prototype 2009-01-16 01:20:31 +00:00
avformat.h Make arguments of av_set_pts_info() unsigned. 2009-07-01 18:50:31 +00:00
avi.h Globally rename the header inclusion guard names. 2008-08-31 07:39:47 +00:00
avidec.c Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN 2009-07-26 12:20:04 +00:00
avienc.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
avio.c Move function for reading whole specified amount of data from RTSP 2009-06-04 06:25:53 +00:00
avio.h Move function for reading whole specified amount of data from RTSP 2009-06-04 06:25:53 +00:00
aviobuf.c seek inside buffer when offset is exactly at the end, fix seeking with memory ByteIOContext 2009-04-13 04:02:51 +00:00
avisynth.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
avlanguage.c Remove a test on an always false condition. 2009-06-17 07:05:17 +00:00
avlanguage.h Convert names to the FFmpeg style. 2009-04-28 19:51:50 +00:00
avs.c avoid POSIX reserved _t suffix 2008-12-11 22:34:14 +00:00
bethsoftvid.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
bfi.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
c93.c avoid POSIX reserved _t suffix 2008-12-11 22:34:14 +00:00
crcenc.c cosmetics: Remove pointless period after copyright statement non-sentences. 2009-01-19 15:46:40 +00:00
cutils.c Do not misuse unsigned long to store pointers. 2009-02-04 05:56:39 +00:00
daud.c Change semantic of CONFIG_*, HAVE_* and ARCH_*. 2009-01-13 23:44:16 +00:00
dsicin.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
dv.c fix dvcprohd 720p channels 3 and 4 audio timestamps, patch by Brian Brice, bbrice at gmail dot com 2009-06-19 21:36:21 +00:00
dv.h cosmetics: Remove pointless period after copyright statement non-sentences. 2009-01-19 15:46:40 +00:00
dvenc.c Allocate AVFifoBuffer through the fifo API to reduce future API/ABI issues. 2009-03-08 14:16:55 +00:00
dxa.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
eacdata.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
electronicarts.c Electronic Arts demuxer: support Madcow video tag 2009-06-13 02:20:54 +00:00
ffm.h cosmetics: Remove pointless period after copyright statement non-sentences. 2009-01-19 15:46:40 +00:00
ffmdec.c remove useless duplication of what av_new_stream() already does 2009-04-10 12:49:53 +00:00
ffmenc.c do not write ffm write index by default, detect if file is being written and return EOF 2009-03-20 01:23:33 +00:00
file.c Only consider -1 as an error return value for open(). 2009-07-27 12:36:22 +00:00
flacdec.c Add a VorbisComment metadata conversion table and use it in the FLAC and 2009-06-13 22:45:58 +00:00
flacenc.c Share the function to write a raw FLAC header and use it in the Matroska 2009-02-26 02:41:53 +00:00
flacenc.h Share the function to write a raw FLAC header and use it in the Matroska 2009-02-26 02:41:53 +00:00
flic.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
flv.h Register some additional AMF types in libavformat/flv.h 2009-07-21 07:18:14 +00:00
flvdec.c Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN 2009-07-26 12:20:04 +00:00
flvenc.c Fix onMetaData property count in flv files (issue 1206). 2009-06-20 12:52:48 +00:00
framecrcenc.c cosmetics: Remove pointless period after copyright statement non-sentences. 2009-01-19 15:46:40 +00:00
gif.c Rename pbBufPtr() to put_bits_ptr(). 2009-04-13 16:59:38 +00:00
gopher.c Gopher protocol, patch by Toshimitsu Kimura, lovesyao gmail com 2009-02-11 16:28:46 +00:00
gxf.c cosmetics: Remove pointless period after copyright statement non-sentences. 2009-01-19 15:46:40 +00:00
gxf.h Avoid _t in gxf enum type names 2008-12-13 21:58:17 +00:00
gxfenc.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
http.c Add support for "chunked" data blocks. Patch by Peter Holik (peter holik at). 2009-06-23 15:38:53 +00:00
id3v1.c Move id3v1/id3v2 handling code from mp3.c to id3v[12].c. 2009-06-19 14:03:35 +00:00
id3v1.h Move id3v1/id3v2 handling code from mp3.c to id3v[12].c. 2009-06-19 14:03:35 +00:00
id3v2.c indent 2009-06-29 18:37:29 +00:00
id3v2.h Move id3v1/id3v2 handling code from mp3.c to id3v[12].c. 2009-06-19 14:03:35 +00:00
idcin.c Use more descriptive format long_names. 2009-02-12 17:26:06 +00:00
idroq.c Simplify RoQ demuxer pts calculation by using a appropriate time bases. 2009-03-13 13:37:35 +00:00
iff.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
img2.c Revert unintended hunk of r19241. 2009-06-20 14:51:03 +00:00
internal.h remove now useless av_set_program_name() function 2009-02-10 00:27:42 +00:00
ipmovie.c Simplify ipmovie.c pts calculation by using an appropriate time_base. 2009-02-27 10:07:12 +00:00
isom.c Add '.mp1' for MP1 audio in MOV/CAF. 2009-06-17 00:37:06 +00:00
isom.h Remove time_rate, we cannot compute exactly when fragments are 2009-06-11 05:13:23 +00:00
iss.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
libnut.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
lmlm4.c Fix build: Add intreadwrite.h and bswap.h #includes where necessary. 2009-01-11 22:19:48 +00:00
Makefile fix various compilation dependencies 2009-07-24 21:28:44 +00:00
matroska.c matroska: add support for MLP and TRUEHD codec tags 2009-03-30 21:37:04 +00:00
matroska.h Add some basic metadata conversion tables for matroska and asf. 2009-03-01 00:12:08 +00:00
matroskadec.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
matroskaenc.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
metadata_compat.c don't trigger metadata compatibility code when user app already set metadata 2009-02-26 13:00:13 +00:00
metadata.c simplify metadata conversion and fixes gcc-2.95 at the same time 2009-03-01 14:29:30 +00:00
metadata.h add a metadata conversion API 2009-02-28 23:34:16 +00:00
mm.c Add a context to av_log() call and update the trace not to be redundant. 2009-02-16 16:27:08 +00:00
mmf.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
mov.c only set par if it does not indicates a rotation, ex iphone 3GS 2009-06-25 00:17:47 +00:00
movenc.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
mp3.c Move id3v1/id3v2 handling code from mp3.c to id3v[12].c. 2009-06-19 14:03:35 +00:00
mpc8.c Allocate a bit more memory for MPC SV8 seek table, so bitreader won't read 2009-06-13 06:39:01 +00:00
mpc.c Rename bitstream.h to get_bits.h. 2009-04-13 16:20:26 +00:00
mpeg.c Remove 2 ++ from check_pes() that are useless, found by CSA. 2009-04-17 18:08:39 +00:00
mpeg.h cosmetics: Remove pointless period after copyright statement non-sentences. 2009-01-19 15:46:40 +00:00
mpegenc.c Set restrictions on packet_size, as per ISO-11172 / H-222 specifications 2009-06-17 19:04:02 +00:00
mpegts.c Only set CODEC_ID_PROBE when a packet from a stream having a PES header 2009-06-25 19:01:16 +00:00
mpegts.h remove defines 2009-05-31 03:02:12 +00:00
mpegtsenc.c simplify pes timestamps fetching, based on a patch by corp186, chasedouglas at gmail dot com 2009-05-23 06:25:44 +00:00
mpjpeg.c cosmetics: format long_name spelling fixes 2009-02-12 17:24:17 +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 Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN 2009-07-26 12:20:04 +00:00
mvi.c Bump Major version, this commit is almost just renaming bits_per_sample to 2008-09-08 14:24:59 +00:00
mxf.c reuse MXFCodecUL for data def and simplify 2009-02-08 05:12:30 +00:00
mxf.h reuse MXFCodecUL for data def and simplify 2009-02-08 05:12:30 +00:00
mxfdec.c return AVERROR_EOF 2009-05-30 06:16:44 +00:00
mxfenc.c fix and simplify long gop mpeg codec ul computation 2009-07-04 08:02:01 +00:00
ncdec.c 10l: fix compiler warning: 2009-02-08 21:42:06 +00:00
network.h Fix undefined preprocessor directives warnings during 'make checkheaders'. 2009-01-24 14:52:46 +00:00
nsvdec.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
nut.c remove _t for POSIX compatibility. 2008-12-11 19:06:24 +00:00
nut.h Remove misleading comment, _t is POSIX-reserved namespace. 2008-12-13 16:08:31 +00:00
nutdec.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
nutenc.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
nuv.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
oggdec.c Add a VorbisComment metadata conversion table and use it in the FLAC and 2009-06-13 22:45:58 +00:00
oggdec.h Add a VorbisComment metadata conversion table and use it in the FLAC and 2009-06-13 22:45:58 +00:00
oggenc.c oggenc: Change error log text. An error here does not necessarily mean 2009-06-21 20:18:29 +00:00
oggparseflac.c Rename bitstream.h to get_bits.h. 2009-04-13 16:20:26 +00:00
oggparseogm.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
oggparsespeex.c Ensure that the extradata buffer is padded appripriately in the ogg demuxer. 2009-06-05 23:39:11 +00:00
oggparsetheora.c Replace invalid Theora frame rate by 25 FPS. 2009-07-03 11:31:09 +00:00
oggparsevorbis.c Add a VorbisComment metadata conversion table and use it in the FLAC and 2009-06-13 22:45:58 +00:00
oma.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
options.c use AVFormatContext->probesize in av_find_stream_info and raise default to 5M 2009-06-25 19:10:27 +00:00
os_support.c Change semantic of CONFIG_*, HAVE_* and ARCH_*. 2009-01-13 23:44:16 +00:00
os_support.h Only #define lseek to _lseeki64 on MinGW, not MinGW CE. 2009-07-13 17:16:36 +00:00
output-example.c Move output_example.c --> libavformat/output-example.c. 2009-03-27 00:01:06 +00:00
psxstr.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
pva.c technically mp2 in pva needs AVSTREAM_PARSE_FULL 2009-05-27 06:58:22 +00:00
qcp.c Add QCP demuxer. 2009-05-20 17:19:39 +00:00
qtpalette.h Remove alpha channel from default colorspace tables, since it is unused. See 2009-03-22 13:05:13 +00:00
r3d.c use new metadata API in r3d demuxer 2009-03-01 15:28:56 +00:00
raw.c Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN 2009-07-26 12:20:04 +00:00
raw.h Separate the raw FLAC demuxer from raw.c and put in a new file, 2009-02-28 17:24:46 +00:00
rdt.c Rename bitstream.h to get_bits.h. 2009-04-13 16:20:26 +00:00
rdt.h Split rtp.h in rtp.h, rtpdec.h, and rtpenc.h 2009-02-06 10:35:52 +00:00
riff.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
riff.h Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
rl2.c cosmetics: format long_name spelling fixes 2009-02-12 17:24:17 +00:00
rm.c use new metadata API in rm (de)muxer 2009-02-17 21:40:38 +00:00
rm.h Remove '\p', '\c' and '\e' doxygen markup from doxy, as it should 2009-06-06 09:35:15 +00:00
rmdec.c Move declarations in sync() closer to where they are used. 2009-04-17 14:38:52 +00:00
rmenc.c Remove index writing in RM muxer, since it is broken (multiple streams per 2009-03-21 20:34:24 +00:00
rpl.c cosmetics: vertical alignment 2009-02-26 22:39:53 +00:00
rtp_aac.c Correctly set the "AU size" field in the payload header for 2009-05-29 13:46:46 +00:00
rtp_amr.c Add support for AMR audio in the RTP muxer 2009-04-08 07:16:14 +00:00
rtp_asf.c Assign the x-pf-asf payload string to be decoded by rtp_asf.c, and add a 2009-03-20 01:11:08 +00:00
rtp_asf.h Assign the x-pf-asf payload string to be decoded by rtp_asf.c, and add a 2009-03-20 01:11:08 +00:00
rtp_h263.c Fix the copyright year 2009-04-07 12:28:41 +00:00
rtp_h264.c Rename bitstream.h to get_bits.h. 2009-04-13 16:20:26 +00:00
rtp_h264.h Split rtp.h in rtp.h, rtpdec.h, and rtpenc.h 2009-02-06 10:35:52 +00:00
rtp_mpv.c Make sure buffer end remains constant within the loop 2009-06-10 14:56:50 +00:00
rtp_vorbis.c Add a Vorbis payload parser. Implemented by Colin McQuillan as a GSoC 2009-04-14 15:01:46 +00:00
rtp_vorbis.h Add a Vorbis payload parser. Implemented by Colin McQuillan as a GSoC 2009-04-14 15:01:46 +00:00
rtp.c Rename bitstream.h to get_bits.h. 2009-04-13 16:20:26 +00:00
rtp.h Document ff_rtp_codec_id() 2009-02-28 19:34:50 +00:00
rtpdec.c Add a Vorbis payload parser. Implemented by Colin McQuillan as a GSoC 2009-04-14 15:01:46 +00:00
rtpdec.h Add url_get_file_handle(), which is used to get the file descriptor 2009-03-03 17:04:51 +00:00
rtpenc_h264.c Fix the M bit for multi-packet NALs. 2009-05-16 17:11:47 +00:00
rtpenc.c Rename bitstream.h to get_bits.h. 2009-04-13 16:20:26 +00:00
rtpenc.h Add support for AMR audio in the RTP muxer 2009-04-08 07:16:14 +00:00
rtpproto.c Add url_get_file_handle(), which is used to get the file descriptor 2009-03-03 17:04:51 +00:00
rtsp.c Support seeking as defined by the rfc 2009-06-10 15:08:02 +00:00
rtsp.h Use globally consistent include guard names. 2009-07-19 09:38:58 +00:00
rtspcodes.h Globally rename the header inclusion guard names. 2008-08-31 07:39:47 +00:00
sdp.c Add support for AMR audio in the RTP muxer 2009-04-08 07:16:14 +00:00
segafilm.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
sierravmd.c Add a context to av_log() call. 2009-02-16 14:45:05 +00:00
siff.c cosmetics: Remove pointless period after copyright statement non-sentences. 2009-01-19 15:46:40 +00:00
smacker.c Make Smacker audio decoder output audio in original bit depth 2009-03-21 15:52:14 +00:00
sol.c cosmetics: Remove pointless period after copyright statement non-sentences. 2009-01-19 15:46:40 +00:00
sox.h Implement SoX native format muxer and demuxer. 2009-05-30 18:51:15 +00:00
soxdec.c Add block_align to sox input. 2009-07-08 08:52:56 +00:00
soxenc.c Implement SoX native format muxer and demuxer. 2009-05-30 18:51:15 +00:00
swf.h remove unused fields in swf context 2009-03-14 22:49:01 +00:00
swfdec.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
swfenc.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
tcp.c Use ff_neterrno instead of errno in tcp.c. 2009-07-15 05:52:49 +00:00
thp.c cosmetics: Remove pointless period after copyright statement non-sentences. 2009-01-19 15:46:40 +00:00
tiertexseq.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
timefilter.c Replace rand() usage by av_lfg_get(). 2009-04-10 17:12:36 +00:00
timefilter.h Add my name to copyright & author as requested by the original author. 2009-03-06 20:51:50 +00:00
tmv.c Add 8088flex TMV file demuxer. 2009-05-06 22:01:54 +00:00
tta.c Rename bitstream.h to get_bits.h. 2009-04-13 16:20:26 +00:00
txd.c Add a context to av_log() calls. 2009-03-03 16:19:37 +00:00
udp.c Add url_get_file_handle(), which is used to get the file descriptor 2009-03-03 17:04:51 +00:00
utils.c Only free '*ic_ptr' when a caller has pre-allocated a context and passed it in 2009-07-15 10:00:16 +00:00
vc1test.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
vc1testenc.c Remove unused variable. 2008-08-13 18:32:16 +00:00
voc.c voc: add ff_ prefix to some global const data 2008-08-24 14:12:03 +00:00
voc.h avoid POSIX reserved _t suffix 2008-12-11 22:34:14 +00:00
vocdec.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
vocenc.c avoid POSIX reserved _t suffix 2008-12-11 22:34:14 +00:00
vqf.c VQF demuxer 2009-03-07 22:42:09 +00:00
wav.c Add ff_ prefixes to exported symbols in libavformat/riff.h. 2009-06-22 23:09:34 +00:00
wc3movie.c Slightly improve/correct description of wc3_pal_lookup 2009-04-12 08:49:20 +00:00
westwood.c Remove unused code from Westwood VQA/AUD demuxer. 2009-04-16 12:39:14 +00:00
wv.c Add floating point audio decoding to WavPack decoder. 2009-05-06 05:40:43 +00:00
xa.c Use full internal pathname in doxygen @file directives. 2009-02-01 02:00:19 +00:00
yuv4mpeg.c Use chroma_sample_location in reading/writing yuv4mpeg 2009-05-11 04:35:15 +00:00