Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-06-26mpc8: read APE tags.Anton Khirnov
2012-06-26network: Don't redefine error codes if they already exist in errno.hRonald S. Bultje
Since the errno.h values don't match the error codes that winsock returns, map the winsock error codes to the errno ones, to make sure explicit checks against AVERROR(x) match. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-26configure: Check for sys/time.hRonald S. Bultje
Apparently this include is needed on some systems for building the poll fallback (for the timeval struct for select?), but it isn't available on all systems. Thus only include it if it exists. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-26network: Include unistd.h from network.hMartin Storsjö
This heaader is required for close() for sockets in network code. For winsock, the equivalent function is defined in the winsock2.h header. This avoids having the HAVE_UNISTD_H in all files dealing with raw sockets. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-26mov: do not try to read total disc/track number if data atom is too short.Carl Eugen Hoyos
Fixes bug 308. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-06-25wtv: Check the return value from gmtimeMartin Storsjö
On MSVC, gmtime returns NULL for values outside of their supported range (and these show up in our fate test). This doesn't seem to affect the actual fate test result. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-24ape: create audio stream before reading tags.Anton Khirnov
Tags may contain attached picture, which will be exported as video streams. This ensures that the audio stream is always the first.
2012-06-24mov: make a length variable larger.Anton Khirnov
Right now, it's uint16_t, but for itunes metadata a 32bit number is stored in it.
2012-06-24image2: Add "start_number" private option to the demuxerMashiat Sarker Shakkhar
Currently if a pattern is given we look for up to the fifth file name in the sequence. This option sets that limit to an arbitrary number. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-06-24image2: Add "start_number" private option to the muxerMashiat Sarker Shakkhar
This adds the capability to start counting file number from an arbitrary integer. This includes a few lines of trivial code from FFmpeg codebase. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-06-22Replace usleep() calls with av_usleep()Mans Rullgard
This reduces the dependency on unistd.h which is not available on all systems. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-06-22lavf: include libavutil/time.h instead of redeclaring av_gettime()Mans Rullgard
This avoids some warnings about redundant declarations. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-06-21lavf: Make codec_tag arrays constantRonald S. Bultje
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-21lavf, lavu: version bumps and APIchanges for av_gettime() moveMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-06-20MS Screen 1 decoderKostya Shishkov
2012-06-20Move av_gettime() to libavutilMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-06-20mov: fix operator precedence bugRonald S. Bultje
2012-06-20Remove unnecessary inclusions of [sys/]time.hMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-06-20lavf: remove unnecessary inclusions of unistd.hMans Rullgard
These files do not use anything provided by unistd.h. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-06-19udp: Properly check for invalid socketsMartin Storsjö
If stdin has been closed, 0 is a valid socket descriptor. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-19tcp: Check the return value from getsockoptMartin Storsjö
Make sure we actually have an error code in ret, in case getsockopt failed. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-19network: Use av_strerror for getting error messagesMartin Storsjö
Also use ff_neterrno() instead of errno directly (which doesn't work on windows), for getting the error code. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-19udp: Properly print error from getnameinfoMartin Storsjö
getnameinfo doesn't set errno on failure, it returns an error code, which should be handled by gai_strerror instead of the normal strerror. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-19mmst: Use AVUNERROR() to convert error codes to the right range for strerrorMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-19network: Pass pointers of the right type to get/setsockopt/ioctlsocket on ↵Martin Storsjö
windows This avoids warnings. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-19rtmp: Reduce the number of idle posts sent by sleeping 50msSamuel Pitoiset
Rtmpt is effectively half duplex - the server can't return any data unless we send a request (to which the server responds). If we don't have any data to send currently, and the server didn't return any data either, wait a little before doing the next request. This avoids busy looping with idle posts with empty replies, while waiting for more data from the server. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-19flvdec: remove incomplete, disabled seeking codeRonald S. Bultje
2012-06-19http: replace atoll() with strtoll()Ronald S. Bultje
2012-06-19mpegts: remove unused/incomplete/broken seeking codeRonald S. Bultje
2012-06-18rtpenc: Support packetizing iLBCMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-18rtpdec: Add a depacketizer for iLBCMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-18Implement the iLBC storage file formatMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-18mov: Support muxing/demuxing iLBCMartin Storsjö
The packet size, signalled via block_align, has to be passed via the container. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-18rtmp: Don't send every flv packet in a separate HTTP request in RTMPTSamuel Pitoiset
Add a new option 'rtmp_flush_interval' that allows specifying the number of packets to write before sending it off as a HTTP request. This is mostly relevant for RTMPT - for plain RTMP, it only controls how often we check the socket for incoming packets, which shouldn't affect the performance in any noticeable way. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-18rtsp: Send mode=record instead of mode=receiveMartin Storsjö
This seems to be the correct mode to send, according to the original RTSP RFC, and matches the method RECORD which is sent later when starting to send data. Darwin Streaming Server works fine with either of them. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-18rtpenc: Allow requesting H264 RTP packetization mode 0Martin Storsjö
This requires all NAL units to fit within single RTP packets. It doesn't change the actual packetization for packets that fit, but errors out and gives a helpful hint if the NAL units would have to be split, and signals the right packetization mode in the SDP. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-17RTMPT protocol supportSamuel Pitoiset
This adds two protocols, but one of them is an internal implementation detail just used as an abstraction layer/generalization in the code. The RTMPT protocol implementation uses rtmphttp:// as an alternative to the tcp:// protocol. This allows moving most of the lower level logic out from the higher level generic rtmp code. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-17http: Properly handle chunked transfer-encoding for replies to post dataMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-17http: Fail reading if the connection has gone awayMartin Storsjö
This can happen if doing a new request using the same socket, but the new request failed, which clears the urlcontext. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-17amr: Mark an array constMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-17amr: More space cleanupMartin Storsjö
This was missed in the previous cleanup patch. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-17rtpenc: Fix memory leaks in the muxer open functionMartin Storsjö
Also return a proper error code in these cases. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-17amr: Cosmetic cleanupMartin Storsjö
Add spaces around operators, fix brace placement and whitespace to match K&R style, vertically align code, remove redundant != 0 and convert x == 0 into !x, drop useless braces. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-17mov_chan: Fix operator precedence by adding parenthesesMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-17tcp: Check the listen callJordi Ortiz
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-16flacdec: read attached pictures.Anton Khirnov
2012-06-16lavf: don't segfault when a NULL filename is passed to avformat_open_input()Anton Khirnov
This can easily happen when the caller is using a custom AVIOContext. Behave as if the filename was an empty string in this case. CC: libav-stable@libav.org
2012-06-15segment: remove unnecessary <strings.h> includeJanne Grunau
2012-06-14rtmp: Read and handle incoming packets while writing dataSamuel Pitoiset
This makes sure all incoming packets are read and handled (and reacted to) while sending an FLV stream over RTMP to a server. If there were enough incoming data to fill the TCP buffers, this could potentially make things block at unexpected places. For the upcoming RTMPT support, we need to consume all incoming data before we can send the next request. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-14rtpdec: Don't require frames to start with a Mode A packetMartin Storsjö
While there is no reason for starting a frame with anything else than a Mode A packet, some senders seem to consistently use Mode B packets for everything. This fixes depacketization of such streams. Signed-off-by: Martin Storsjö <martin@martin.st>