summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
...
* avc: fix memory errors when encoding invalid h264 codecdataJohn Brooks2011-11-09
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avcodec: add support for planar signed 8-bit PCM.Justin Ruggles2011-11-09
| | | | | | It is found in some 8svx files (e.g. ones created by SoX). Currently the decoder reuses the 8svx functions because we already have handling of a single large planar packet for the compressed 8svx codecs.
* udp: Allow specifying the local IP addressMartin Storsjö2011-11-09
| | | | | | | This is useful if sending multicast data on a host with multiple interfaces. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: don't leak corrupted packetsAndrey Utkin2011-11-09
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* tls: Use ERR_get_error() in do_tls_pollMartin Storsjö2011-11-08
| | | | | | | | | | The return value ret isn't an error code that can be passed to ERR_error_string(). This makes the error messages printed actually contain useful information. Signed-off-by: Martin Storsjö <martin@martin.st>
* mxfdec: Fix comparison of unsigned expression < 0.Alex Converse2011-11-08
| | | | | 'size' is populated by functions returning int64_t and int that return negative error codes.
* mpegts: set stream id on just created stream, not an unrelated variableAnton Khirnov2011-11-08
| | | | | Bug introduced in 84ad31ff180fa089cd6bfd93c246336a16036455. Thanks to Uoti Urpala for finding it.
* lavf: expand doxy for some AVFormatContext fields.Anton Khirnov2011-11-08
|
* avformat: Avoid a warning about mixed declarations and codeMartin Storsjö2011-11-08
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* BMV demuxer and decoderKostya Shishkov2011-11-08
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* matroskaenc: Make sure the seekhead struct is freed even on seek failureMartin Storsjö2011-11-07
| | | | | | | | The caller expects the seekhead struct to be freed when calling matroska_write_seekhead. Currently, the structure is leaked if the seek fails. Signed-off-by: Martin Storsjö <martin@martin.st>
* avformat: Warn about using network functions without calling ↵Martin Storsjö2011-11-07
| | | | | | | | | avformat_network_init This is to make developers aware of the fact that they will start using the new init function at some point. Signed-off-by: Martin Storsjö <martin@martin.st>
* avformat: Revise wordingMartin Storsjö2011-11-07
| | | | | | | | It might make sense not to make the function completely mandatory immediately at the next bump, which might be quite soon after the function was introduced. Signed-off-by: Martin Storsjö <martin@martin.st>
* rdt: Set AVFMT_NOFILE on ff_rdt_demuxerMartin Storsjö2011-11-07
| | | | | | | | | | This makes rdt work again, which has been broken since 603b8bc2a109978c8499b06d2556f1433306eca7. This commit made opening a demuxer without a file (or in this case, with a filename which can't be opened) fail, unless the demuxer actually declared AVFMT_NOFILE. Signed-off-by: Martin Storsjö <martin@martin.st>
* rdt: Check the return value of avformat_openMartin Storsjö2011-11-07
| | | | | | | If it failed, return NULL. This avoids trying to use an half-initialized RDTDemuxContext. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Discard the dynamic handler, if it has an alloc function which failedMartin Storsjö2011-11-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: don't return from void av_update_cur_dts()Anton Khirnov2011-11-06
|
* openssl: Only use CRYPTO_set_id_callback on OpenSSL < 1.0.0Martin Storsjö2011-11-06
| | | | | | | | | | | | | Since 1.0.0, this function is deprecated. A new function, CRYPTO_THREADID_set_callback is available, but if not set at all, it uses the address of errno as thread id, which should be sufficient for most systems. On windows, it never was necessary to use this function even before 1.0.0, it used the right win32 API function for this by default. Signed-off-by: Martin Storsjö <martin@martin.st>
* Remove leftover includes of strings.hMartin Storsjö2011-11-06
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all usage of strcasecmp/strncasecmpReimar Döffinger2011-11-06
| | | | | | | | | | | All current usages of it are incompatible with localization. For example strcasecmp("i", "I") != 0 is possible, but would break many of the places where it is used. Instead use our own implementations that always treat the data as ASCII. Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Remove the custom function for disabling chunked postsMartin Storsjö2011-11-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Disable chunked http post through AVOptionsMartin Storsjö2011-11-05
| | | | | | This avoids having to use a private function. Signed-off-by: Martin Storsjö <martin@martin.st>
* movdec: Set frame_size for AMRCarl Eugen Hoyos2011-11-05
| | | | | | | | | | | | | | Earlier, sc->samples_per_frame was used for setting the frame size, but all files don't have that set properly. The frame size is a known constant for these codecs. If frame_size isn't set, the mov/3gp muxer refuses to mux it. This fixes stream copy of audio from https://roundup.libav.org/file1248/Video_With_AMR-NB_Audio.3gp to another 3gp file (roundup issue 2468). Signed-off-by: Martin Storsjö <martin@martin.st>
* matroskadec: empty blocks are in fact valid.Ronald S. Bultje2011-11-05
|
* movenc: Set a correct packet size for AMR-NB mode 15, "no data"Carl Eugen Hoyos2011-11-05
| | | | | | | | | These packets are valid packets, and consist of 1 byte (which contains the mode bits). This had been analyzed and reported by Igor Levin, igor d levin comverse com. Signed-off-by: Martin Storsjö <martin@martin.st>
* avformat: Add functions for doing global network initializationMartin Storsjö2011-11-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avformat: Add the https protocolMartin Storsjö2011-11-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avformat: Add the tls protocol, using OpenSSL or gnutlsMartin Storsjö2011-11-05
| | | | | | | | Note, this protocol doesn't yet check verify the server certificate against a local database of trusted CA root certificates. Signed-off-by: Martin Storsjö <martin@martin.st>
* avformat: Initialize gnutls in ff_tls_init()Martin Storsjö2011-11-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avformat: Add ff_tls_init()/deinit() that initialize OpenSSLMartin Storsjö2011-11-05
| | | | | | | If the application hasn't set up mutex callbacks, we set up our own using pthreads (or w32pthreads). Signed-off-by: Martin Storsjö <martin@martin.st>
* avformat: Split out functions from network.h to a new file, network.cMartin Storsjö2011-11-05
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* gsm demuxer: do not allocate packet twice.Justin Ruggles2011-11-02
| | | | fixes memleak with raw gsm demuxing.
* flvenc: use first packet delay as global delay.Justin Ruggles2011-11-02
| | | | This keeps the streams sychronized. The packets must be interleaved per-DTS.
* rtsp: add allowed_media_types optionJohn Brooks2011-11-02
| | | | | | | | Streams from RTSP or SDP that do not match an allowed type will be skipped entirely, which allows video-only or audio-only streaming from servers that provide both. Signed-off-by: Martin Storsjö <martin@martin.st>
* Create separate functions for the raw GSM demuxer.Justin Ruggles2011-11-02
| | | | | Put the new raw GSM demuxer in its own file. Fixes raw GSM demuxing.
* Replace vendor string in Ogg and FLAC muxers.Diego Biurrun2011-11-02
|
* Replace ffmpeg references with more accurate libav* references.Diego Biurrun2011-11-02
|
* Replace outdated references to ffmpeg tool with avconv.Diego Biurrun2011-11-02
|
* Remove some stray unnecessary ffmpeg references.Diego Biurrun2011-11-02
|
* id3v2: fix type of ID3v2EMFunc.free()Anton Khirnov2011-11-02
|
* g726: use bits_per_coded_sample instead of bitrate to determine modeJustin Ruggles2011-11-01
| | | | | | | | | | This requires some workarounds in the WAV muxer and demuxer. We need to write the correct bits_per_coded_sample and block_align in the muxer. In the demuxer, we cannot rely on the bits_per_coded_sample value, so we use the bit rate and sample rate to determine the value. This avoids having the decoder rely on AVCodecContext.bit_rate, which is not required to be set by the user for decoding according to our API.
* dsicin: fix several audio-related fields in the CIN demuxerJustin Ruggles2011-10-29
| | | | | | | bits_per_coded_sample should be 8. block_align is calculated incorrectly, but it is not needed anyway. packet pts should be calculated in samples. packet duration can be set.
* mov: Avoid divide by zero in edit list dts handlingBenjamin Larsson2011-10-29
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: use number of output pictures for delay checks.Ronald S. Bultje2011-10-28
| | | | | | This fixes false positives of has_codec_delay_been_guessed() for streams where not every input picture generates an output picture, such as interlaced H264.
* probe: Restore identification of files with very large id3 tags and no ↵Alex Converse2011-10-28
| | | | | | | | extension. Restore behavior of identifying files with huge id3 tags as mp3 at AVPROBE_SCORE_MAX/4. This was broken in r25378 and subsequently removed in r25929.
* probe: Remove id3 tag presence as a criteria to do file extension checking.Alex Converse2011-10-28
| | | | | This only encourages our users to put id3v2 tags on non-mp3 files to opt into extension based probing.
* mpegts: MP4 SL supportAlex Converse2011-10-28
|
* mpegts: MP4 OD supportAlex Converse2011-10-28
|
* mpegts: Add support for Sections in PMTAlex Converse2011-10-28
|
* mpegts: Replace the MP4 descriptor parser with a recursive parser.Alex Converse2011-10-28
|