aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
...
| * udp: Properly check for invalid socketsMartin Storsjö2012-06-191-1/+1
| | | | | | | | | | | | If stdin has been closed, 0 is a valid socket descriptor. Signed-off-by: Martin Storsjö <martin@martin.st>
| * tcp: Check the return value from getsockoptMartin Storsjö2012-06-191-1/+2
| | | | | | | | | | | | | | Make sure we actually have an error code in ret, in case getsockopt failed. Signed-off-by: Martin Storsjö <martin@martin.st>
| * network: Use av_strerror for getting error messagesMartin Storsjö2012-06-192-14/+23
| | | | | | | | | | | | | | 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>
| * udp: Properly print error from getnameinfoMartin Storsjö2012-06-191-2/+3
| | | | | | | | | | | | | | | | 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>
| * mmst: Use AVUNERROR() to convert error codes to the right range for strerrorMartin Storsjö2012-06-191-5/+5
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * network: Pass pointers of the right type to get/setsockopt/ioctlsocket on ↵Martin Storsjö2012-06-192-1/+4
| | | | | | | | | | | | | | | | windows This avoids warnings. Signed-off-by: Martin Storsjö <martin@martin.st>
| * rtmp: Reduce the number of idle posts sent by sleeping 50msSamuel Pitoiset2012-06-191-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | avio: av_protocol_next() is gonePaul B Mahol2012-06-201-1/+0
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-1917-130/+287
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (24 commits) flvdec: remove incomplete, disabled seeking code mem: add support for _aligned_malloc() as found on Windows lavc: Extend the documentation for avcodec_init_packet flvdec: remove incomplete, disabled seeking code http: replace atoll() with strtoll() mpegts: remove unused/incomplete/broken seeking code af_amix: allow float planar sample format as input af_amix: use AVFloatDSPContext.vector_fmac_scalar() float_dsp: add x86-optimized functions for vector_fmac_scalar() float_dsp: Move vector_fmac_scalar() from libavcodec to libavutil lavr: Add x86-optimized function for flt to s32 conversion lavr: Add x86-optimized function for flt to s16 conversion lavr: Add x86-optimized functions for s32 to flt conversion lavr: Add x86-optimized functions for s32 to s16 conversion lavr: Add x86-optimized functions for s16 to flt conversion lavr: Add x86-optimized function for s16 to s32 conversion rtpenc: Support packetizing iLBC rtpdec: Add a depacketizer for iLBC Implement the iLBC storage file format mov: Support muxing/demuxing iLBC ... Conflicts: Changelog configure libavcodec/avcodec.h libavcodec/dsputil.c libavcodec/version.h libavformat/movenc.c libavformat/mpegts.c libavformat/version.h libavutil/mem.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * flvdec: remove incomplete, disabled seeking codeRonald S. Bultje2012-06-191-30/+0
| |
| * http: replace atoll() with strtoll()Ronald S. Bultje2012-06-191-3/+3
| |
| * mpegts: remove unused/incomplete/broken seeking codeRonald S. Bultje2012-06-191-96/+0
| |
| * rtpenc: Support packetizing iLBCMartin Storsjö2012-06-183-1/+51
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * rtpdec: Add a depacketizer for iLBCMartin Storsjö2012-06-185-1/+77
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * Implement the iLBC storage file formatMartin Storsjö2012-06-184-2/+146
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * mov: Support muxing/demuxing iLBCMartin Storsjö2012-06-183-1/+4
| | | | | | | | | | | | | | The packet size, signalled via block_align, has to be passed via the container. Signed-off-by: Martin Storsjö <martin@martin.st>
| * rtmp: Don't send every flv packet in a separate HTTP request in RTMPTSamuel Pitoiset2012-06-182-1/+9
| | | | | | | | | | | | | | | | | | | | | | 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>
| * rtsp: Send mode=record instead of mode=receiveMartin Storsjö2012-06-181-1/+1
| | | | | | | | | | | | | | | | | | | | 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>
* | avidec: add .categoryPaul B Mahol2012-06-191-1/+2
| | | | | | | | | | | | While here make .class_name consistent with other AVClass. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavf: separate muxer/demuxer class categoryMichael Niedermayer2012-06-191-0/+7
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avidec: use designated initializers for AVClassPaul B Mahol2012-06-191-4/+4
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | mov: use designated initializers for AVClassPaul B Mahol2012-06-191-1/+6
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-1811-19/+303
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: lavr: add x86-optimized functions for mixing 1-to-2 s16p with flt coeffs lavr: add x86-optimized functions for mixing 1-to-2 fltp with flt coeffs Add Dolby/DPLII downmix support to libavresample vorbisdec: replace div/mod in loop with a counter fate: vorbis: add 5.1 surround test rtpenc: Allow requesting H264 RTP packetization mode 0 configure: Sort the library listings in the help text alphabetically dwt: remove variable-length arrays RTMPT protocol support http: Properly handle chunked transfer-encoding for replies to post data http: Fail reading if the connection has gone away amr: Mark an array const amr: More space cleanup rtpenc: Fix memory leaks in the muxer open function Conflicts: Changelog configure doc/APIchanges libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtpenc: Allow requesting H264 RTP packetization mode 0Martin Storsjö2012-06-184-4/+17
| | | | | | | | | | | | | | | | | | 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>
| * RTMPT protocol supportSamuel Pitoiset2012-06-175-5/+272
| | | | | | | | | | | | | | | | | | | | 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>
| * http: Properly handle chunked transfer-encoding for replies to post dataMartin Storsjö2012-06-171-9/+6
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * http: Fail reading if the connection has gone awayMartin Storsjö2012-06-171-0/+3
| | | | | | | | | | | | | | 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>
| * amr: Mark an array constMartin Storsjö2012-06-171-1/+1
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * amr: More space cleanupMartin Storsjö2012-06-171-1/+1
| | | | | | | | | | | | This was missed in the previous cleanup patch. Signed-off-by: Martin Storsjö <martin@martin.st>
| * rtpenc: Fix memory leaks in the muxer open functionMartin Storsjö2012-06-171-2/+6
| | | | | | | | | | | | Also return a proper error code in these cases. Signed-off-by: Martin Storsjö <martin@martin.st>
* | lavf: add field for how duration is estimatedMichael Bradshaw2012-06-184-2/+27
| | | | | | | | Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-173-58/+47
|\| | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: amr: Cosmetic cleanup mov_chan: Fix operator precedence by adding parentheses doc: Add missing protocols to list of supported protocols. tcp: Check the listen call Conflicts: libavformat/amr.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * amr: Cosmetic cleanupMartin Storsjö2012-06-171-57/+40
| | | | | | | | | | | | | | | | 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>
| * mov_chan: Fix operator precedence by adding parenthesesMartin Storsjö2012-06-171-1/+1
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * tcp: Check the listen callJordi Ortiz2012-06-171-1/+5
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | avienc: use av_assertMichael Niedermayer2012-06-171-3/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Change all uses of restrict to use av_restrict instead.Ronald S. Bultje2012-06-172-4/+4
| | | | | | | | | | | | | | | | | | | | Defining restrict results - for some compilers - in changing other uses of the restrict keyword also, e.g. __declspec(restrict) gets changed to __declspec(__restrict) on MSVC. This causes compilation failures. Therefore, using a private namespace macro instead is more reliable and robust. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-162-1/+124
|\| | | | | | | | | | | | | | | * qatar/master: flacdec: read attached pictures. lavf: don't segfault when a NULL filename is passed to avformat_open_input() Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * flacdec: read attached pictures.Anton Khirnov2012-06-161-0/+123
| |
| * lavf: don't segfault when a NULL filename is passed to avformat_open_input()Anton Khirnov2012-06-161-1/+1
| | | | | | | | | | | | | | | | 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
* | ffmenc: use av_assertMichael Niedermayer2012-06-161-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-151-1/+0
|\| | | | | | | | | | | | | | | | | * qatar/master: af_resample: fix format modifier in debug string for FF_API_SAMPLERATE64 segment: remove unnecessary <strings.h> include fate: add snow hpel tests Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * segment: remove unnecessary <strings.h> includeJanne Grunau2012-06-151-1/+0
| |
* | nutenc: use av_assertMichael Niedermayer2012-06-151-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | amr: use av_assert()Michael Niedermayer2012-06-151-3/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf/aviobuf: use av_assert()Michael Niedermayer2012-06-151-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf: cosmetic: format else with indentationMichael Bradshaw2012-06-151-1/+1
| | | | | | | | | | Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf/{srt,microdvd}: correctly raise error on avformat_new_stream() error.Clément Bœsch2012-06-152-2/+2
| |
* | file: Fix handling of windows named pipesMartin Sliwka2012-06-151-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avio: Collect and print statistics of bytes read & seeksMichael Niedermayer2012-06-152-0/+16
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>