Commit Graph

152 Commits

Author SHA1 Message Date
Alex Beregszaszi
ba472aaf01 implement ff_socket_nonblock and use it in networking code
Originally committed as revision 8846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-27 00:41:50 +00:00
Alex Beregszaszi
8da4034f52 use ff_neterrno() and FF_NETERROR() for networking error handling
Originally committed as revision 8845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-27 00:35:54 +00:00
Alex Beregszaszi
0bdacf29d4 use network.h instead network includes
Originally committed as revision 8844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-27 00:17:46 +00:00
Diego Biurrun
4ee10633d2 cosmetics: Remove trailing whitespace and tabs.
Originally committed as revision 8838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26 19:27:32 +00:00
Alex Beregszaszi
2bd8416e7c use resolve_host in acl handlign too, simplificates the code
Originally committed as revision 8819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 22:23:38 +00:00
Alex Beregszaszi
1840587402 make the last globals static
Originally committed as revision 8818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 22:22:19 +00:00
Alex Beregszaszi
ad8b8abce4 support for hostnames instead ip addresses in ffserver conf (using resolve_host now)
Originally committed as revision 8815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-25 21:05:47 +00:00
Luca Abeni
57dbe08b61 Fix ffserver crash when closing the second RTP session
Originally committed as revision 8799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-24 13:28:38 +00:00
Alex Beregszaszi
aabce53304 check ip port range from config
Originally committed as revision 8787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-22 18:06:08 +00:00
Alex Beregszaszi
5eb782f080 simplificate
Originally committed as revision 8786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-22 18:01:29 +00:00
Alex Beregszaszi
cb2abe3f4d use av_strdup instead malloc/strcpy
Originally committed as revision 8785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-22 17:56:26 +00:00
Alex Beregszaszi
d2040a8fb6 fixed InputFormat option, which was never working
Originally committed as revision 8784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-22 17:48:23 +00:00
Alex Beregszaszi
0aecfdf930 remove useless code, file removal is handled elsewhere
Originally committed as revision 8782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-22 15:06:16 +00:00
Luca Abeni
b0b2faa709 Fix an use-after-free bug
Originally committed as revision 8759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-19 13:55:06 +00:00
Luca Abeni
2c6a5e6ccd Remove unused callbacks from ffserver
Originally committed as revision 8758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-19 13:54:11 +00:00
Luca Abeni
e8d658df34 Fix the poll() loop (ret == 0 means that a timeout expired, so it must be
handled)

Originally committed as revision 8711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-10 14:40:03 +00:00
Luca Abeni
7e665cd3ff Fix the generation of RTSP reply headers (the "DEF()" macro is not used
anymore in rtspcodes.h)

Originally committed as revision 8710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-10 14:36:11 +00:00
Stanislav Brabec
6308cacaf4 Fix warning:
ffserver.c:4303: warning: 'acl.next' is used uninitialized in this function
patch by Stanislav Brabec, sbrabec suse cz

Originally committed as revision 8573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 16:36:56 +00:00
Alex Beregszaszi
087fa47507 fix x-octet-stream mime type
Originally committed as revision 8568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 14:39:04 +00:00
Alex Beregszaszi
65e7226147 use av_strdup
Originally committed as revision 8567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 14:36:24 +00:00
Alex Beregszaszi
55d07ba68e remove dead code
Originally committed as revision 8566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-31 14:34:29 +00:00
Michael Niedermayer
c367d06702 prevent exit missuse
Originally committed as revision 8536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 21:47:03 +00:00
Panagiotis Issaris
750f0e1f8b Introduce two new logging functions av_hex_dump_log() and av_pkt_dump_log()
which use av_log() for logging instead of fprintf().

Originally committed as revision 8339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 14:17:26 +00:00
Alex Beregszaszi
acdc852017 print codec parameters for audio too
Originally committed as revision 8303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 11:20:57 +00:00
Alex Beregszaszi
d0a5513b88 disconnect new feeder if feed is already being received
Originally committed as revision 8271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-06 13:29:04 +00:00
Alex Beregszaszi
bae79c048f redirect http get requests of / to index.html (note, the http_parse_request may worth a rewrite)
Originally committed as revision 8113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 03:17:59 +00:00
Alex Beregszaszi
c3f5818525 store internal timestamps in int64_t instead long
Originally committed as revision 8112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 02:39:57 +00:00
Alex Beregszaszi
f1debfd0bd rescale pts/dts for output format
Originally committed as revision 8111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 02:28:28 +00:00
Alex Beregszaszi
f75cdda718 return error if av_write_header failed (it fails on some containers when codec is not supported)
Originally committed as revision 8110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 02:24:42 +00:00
Alex Beregszaszi
638831aacc disconnect client if trailer is sent
Originally committed as revision 8109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 02:16:12 +00:00
Alex Beregszaszi
5400e0923a if feeder is disconnected, clear the feed registration, thus a new feeder can connect
Originally committed as revision 8072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 13:27:39 +00:00
Alex Beregszaszi
038a1243a2 codec_tag settable via VideoTag, and transmit codec_tag in ffm
Originally committed as revision 8071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 13:23:38 +00:00
Alex Beregszaszi
c60202dffe change write/read to send/recv on socket operations
Originally committed as revision 8069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 12:38:37 +00:00
Alex Beregszaszi
d96633bbe4 change close() to closesocket() on sockets (compatible with libavformat)
Originally committed as revision 8068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 12:17:25 +00:00
Alex Beregszaszi
8cba6ba97a remove gettime_ms and use av_gettime instead of it
Originally committed as revision 8052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 14:06:03 +00:00
Alex Beregszaszi
1df93ae910 use av_random instead random/srandom
Originally committed as revision 8051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-21 13:50:32 +00:00
François Revol
b0c858d834 poll() emulation for BeOS, and maybe MinGW.
Originally committed as revision 7987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-15 07:44:10 +00:00
Måns Rullgård
18b67ae59e rename HAVE_DLFCN to HAVE_DLFCN_H
Originally committed as revision 7078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 23:53:37 +00:00
Måns Rullgård
78e61cc5c6 rename CONFIG_HAVE_DLFCN and CONFIG_HAVE_DLOPEN to HAVE_DLFCN/HAVE_DLOPEN
Originally committed as revision 7018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-13 23:14:24 +00:00
Steve L'Homme
949b1a13bf Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
patch by Steve Lhomme, slhomme divxcorp com

Originally committed as revision 6868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 22:39:58 +00:00
Diego Biurrun
b78e7197a8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Diego Biurrun
3e66a74072 Update copyright year and mention other copyright holders.
Originally committed as revision 6408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-01 17:26:15 +00:00
Måns Rullgård
d2a067d1d9 give AVInput/OutputFormat structs consistent names
Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 23:40:53 +00:00
Diego Biurrun
f1cc88a5d6 Use Subversion revision for FFMPEG_VERSION.
based on a patch by Ismail Dönmez ismail$$at$$pardus$$dot$$org$$dot$$tr

Originally committed as revision 5502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-20 10:24:08 +00:00
Stefan Huehner
7b49ce2e34 Add const to (mostly) char* and make some functions static, which aren't used
outside their declaring source file and which have no corresponding prototype.
patch by Stefan Huehner stefan^^@^^huehner^^.^^org

Originally committed as revision 5497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-18 11:33:14 +00:00
Aurelien Jacobs
267b0e5754 Update ffserver regression tests:
- really produce readable files (instead of 0 byte files or headers only)
 - use bitexact, fastint dct, simple idct and qscale
 - gives consistent results across several archs
 - still fails on altivec ppc

Originally committed as revision 5129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-09 00:36:39 +00:00
Alex Beregszaszi
33f5e2ec3e make those nasty variables static, also fix a html bug
Originally committed as revision 5044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-21 21:15:19 +00:00
Måns Rullgård
b2b77b9c23 remove unused function get_longterm_datarate()
Originally committed as revision 4928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 20:11:09 +00:00
Diego Biurrun
5509bffa88 Update licensing information: The FSF changed postal address.
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Diego Biurrun
bb270c0896 COSMETICS: tabs --> spaces, some prettyprinting
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00