Commit Graph

168 Commits

Author SHA1 Message Date
Luca Abeni
dd7234725d Use avf_sdp_create() in ffserver
Originally committed as revision 10147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 07:07:20 +00:00
Stefano Sabatini
8838141268 Make ffserver -h exit 0.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-13 08:41:51 +00:00
Stefano Sabatini
5c14a7955e Make show-license exit 0.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 13:11:30 +00:00
Alex Beregszaszi
3cf9ea7f48 use proper closesocket defines
Originally committed as revision 9992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 20:25:32 +00:00
Alex Beregszaszi
611c574137 cosmetic: remove a huge number of useless braces
Originally committed as revision 9990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 19:40:37 +00:00
Alex Beregszaszi
2d563d2f8e cosmetic: simplify some constructs
Originally committed as revision 9989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 19:23:40 +00:00
Alex Beregszaszi
0bd5396778 cosmetic: extra space
Originally committed as revision 9987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 19:04:23 +00:00
Alex Beregszaszi
33a4ecbe20 cosmetic: indentation
Originally committed as revision 9986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 18:56:27 +00:00
Alex Beregszaszi
eeffbdea97 cosmetic: remove extra parenthesis
Originally committed as revision 9985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 18:55:49 +00:00
Alex Beregszaszi
af0f371246 10l to Benoit, poll.h is already included below, and this broke compilation on mingw
Originally committed as revision 9620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 00:55:42 +00:00
Diego Biurrun
e5a389a1b7 license header consistency cosmetics
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:40:25 +00:00
Ronald S. Bultje
0f4e816582 to be able to compile without HAVE_AV_CONFIG_H
patch by Ronald S. Bultje: [rsbultje gmail com]
original thread: [FFmpeg-devel] ffmpeg.c/cmdutils.c compilation
date: 06/23/2007 03:15 AM

Originally committed as revision 9453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-02 07:43:23 +00:00
Måns Rullgård
f7d78f3654 replace the uses of old string functions that Reimar missed
Originally committed as revision 9406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 11:27:12 +00:00
Stefano Sabatini
b33ece1634 replace calls to deprecated parsing functions to calls to new ones
patch by Stefano Sabatini: [stefano sabatini-lala poste it]

Originally committed as revision 9359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-18 08:08:43 +00:00
Diego Biurrun
755bfeabcc misc spelling fixes
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 09:29:25 +00:00
Diego Biurrun
364a960704 Move HAVE_AV_CONFIG_H definition to the Makefile like in the rest of FFmpeg.
Originally committed as revision 9273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-10 14:34:56 +00:00
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