summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
...
* avio: deprecate url_open_protocolAnton Khirnov2011-04-04
| | | | | The unbuffered API will be made private and it's not used anywhere internally.
* avio: deprecate url_poll and URLPollEntryAnton Khirnov2011-04-04
| | | | | They're unimplemented and nobody cared to do anything with that for 10 years.
* flvdec: fix segfault in amf_parse_object() due to NULL keyJustin Ruggles2011-04-03
| | | | fixes Issue 2674
* lavf: bump minor version and add an APIChanges entry for avio changesAnton Khirnov2011-04-03
|
* avio: simplify url_open_dyn_buf_internal by using avio_alloc_context()Anton Khirnov2011-04-03
|
* avio: make url_fdopen internal.Anton Khirnov2011-04-03
| | | | | The unbuffered URLContext API will be made private, so there's no point in this function being public.
* avio: make url_open_dyn_packet_buf internal.Anton Khirnov2011-04-03
| | | | | | | It doesn't look fit to be a part of the public API. Adding a temporary hack to ffserver to be able to use it, should be cleaned up when somebody is up for it.
* avio: avio_ prefix for url_close_dyn_bufAnton Khirnov2011-04-03
|
* avio: avio_ prefix for url_open_dyn_bufAnton Khirnov2011-04-03
|
* avio: introduce an AVIOContext.seekable fieldAnton Khirnov2011-04-03
| | | | Use it instead of url_is_streamed and AVIOContext.is_streamed.
* jvdec: don't use deprecated CODEC_TYPE_*/PKT_FLAG_KEYAnton Khirnov2011-04-02
|
* avio: document avio_alloc_context.Anton Khirnov2011-04-01
|
* lavf: make compute_chapters_end less picky.Anton Khirnov2011-04-01
| | | | | | | | | | | | In particular, now it assumes that a) chapters are chronologically ordered b) chapters have the same timebases c) duration of the stream is known and asserts if any of these is not met. Make it properly deal with harsher conditions. fixes issue2320
* sierravmd: fix Indeo3 videosMatthew Hoops2011-04-01
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ape: check that number of seektable entries is equal to number of framesKostya Shishkov2011-04-01
| | | | | | fixes issue2480 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegts: propagate avio EOF in read_packet()Jindrich Makovicka2011-03-31
| | | | | | | Allows distinguishing between EOF and IO error in read_packet return code. Signed-off-by: Jindrich Makovicka <makovick@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* flvdec: read index stored in the 'keyframes' tag.Kharkov Alexander2011-03-31
| | | | | | | | | | | | | | | | 'keyframes' metatag is not part of the standard, it is just convention to use such kind of metatag information for indexing. Structure is following, it allows to have it inconsistent: keyframes: times (array): time0 (num) time1 (num) time2 (num) filepositions (array) position0 (num) position1 (num) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mov: Add support for zero-sized stsc runs.Alex Converse2011-03-31
| | | | | | | A zero sized stsc run doesn't make a lot of sense but the spec does not prohibit them and MPlayer VLC demuxers support them. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rtsp: Use GET_PARAMETER for keep-alive for generic RTSP serversMartin Storsjö2011-03-30
| | | | | | | | | According to the RFC, GET_PARAMETER should be used for this, and according to a report from Tim Ouellette, OPTIONS doesn't work for keeping the connection alive for some servers. Also, live555 uses GET_PARAMETER for this purpose. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avio: make get_checksum() internal.Anton Khirnov2011-03-30
|
* avio: move ff_crc04C11DB7_update() from avio.h -> avio_internal.hAnton Khirnov2011-03-30
|
* avio: make init_checksum() internal.Anton Khirnov2011-03-30
|
* id3v1: change filesize to int64_t.Carl Eugen Hoyos2011-03-28
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* id3v1: Seek back to old position after reading.Carl Eugen Hoyos2011-03-28
| | | | | | | | FFmpeg did not seek back to the original position, but to "0", making reading a VBR tag impossible. (issue 2645) Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Chronomaster DFA decoderKostya Shishkov2011-03-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* http: header field names are case insensitiveTyler2011-03-28
| | | | | | | | | Amazon S3 sends header field names all lowercase. This is actually acceptable according to the HTTP standard. http://tools.ietf.org/html/rfc2616#section-4.2 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mov: set audio service type for AC-3 from bitstream mode in the 'dac3' atom.Justin Ruggles2011-03-25
|
* Use audio_service_type to set stream disposition.Justin Ruggles2011-03-25
|
* matroskadec: set default duration for simple blockJohn Stebbins2011-03-25
| | | | | | | | | | | When a normal Block is parsed, duration is initialized to AV_NOPTS_VALUE. If it is not changed, then the track's default duration is used. But for SimpleBlock, duration is initialized to 0 instead of AV_NOPTS_VALUE. This is due to the difference in how EBML_NEST vs EBML_PASS are processed. Setting duration to 0 leads eventually to wrongly estimate the frame duration in util.c Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* ffmetadec.c: fix compiler warnings.Ronald S. Bultje2011-03-24
|
* avio: make udp_set_remote_url/get_local_port internal.Anton Khirnov2011-03-23
|
* asfdec: also subtract preroll when reading simple index objectVladimir Pantelic2011-03-23
| | | | | | | This was missed when ASF was changed to return timestamps without preroll. Signed-off-by: Mans Rullgard <mans@mansr.com>
* matroskaenc: remove a variable that's unused after bc17bd9.Anton Khirnov2011-03-23
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: cosmetics - nicer vertical alignment.Anton Khirnov2011-03-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* rtsp: Don't use a locale dependent format stringMartin Storsjö2011-03-23
| | | | | | | In this particular case, we aren't ever printing anything else than 0.000 anyway. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add xd55 codec tag for XDCAM HD422 720p25 CBR files.Tomas Härdin2011-03-23
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* matroskaenc: simplify get_aac_sample_rates by using ff_mpeg4audio_get_configAnton Khirnov2011-03-22
| | | | | | | This also fixes broken SBR detection, which produced files with double sample rate since 8ae0fa2. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Do not use format string "%0.3f" for RTSP Range field.Carl Eugen Hoyos2011-03-22
| | | | | | The format string was locale-depending. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* id3v2: skip broken tags with invalid sizeAnton Khirnov2011-03-22
| | | | fixes issue2649.
* id3v2: don't explicitly skip paddingAnton Khirnov2011-03-22
| | | | It's pointless, since there's a seek to the end of tag later.
* amr: Set the AVFMT_GENERIC_INDEX flagMartin Storsjö2011-03-21
| | | | | This makes the amr demuxer support seeking, closing roundup issue 2593.
* amr: Set the pkt->pos field properly to the start of the packetMartin Storsjö2011-03-21
| | | | | Previously, the field pointed to the second byte of the packet (which is the first byte of the actual AMR payload).
* amr: Set the codec->bit_rate field based on the last packetMartin Storsjö2011-03-21
| | | | | | | | This allows libavformat to guess an estimated duration for amr files. For streams with varying bit rates (or with silence descriptors or "no frame" blocks) the guess is, of course, inaccurate.
* rtsp: Specify unicast for TCP interleaved streams, tooMartin Storsjö2011-03-21
| | | | | | | | | | According to the RFC, the default is multicast if nothing is specified, which doesn't make sense for TCP. According to a bug report, some Axis camera models give a "400 Bad Request" error if this is omitted. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* applehttp: Change the variable for stream position in seconds into int64_tMartin Storsjö2011-03-21
| | | | | | | | A similar variable for the total stream duration was changed to int64_t in b79c3df08807c96a945, due to overflows in some odd streams. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* id3v2: simplify error handling.Anton Khirnov2011-03-21
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* id3v2: explicitly seek to the end of the tag after readingAnton Khirnov2011-03-21
| | | | | | | | Current code might stop in the middle of an invalid tag. fixes issue2650 Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: make av_url_read_fseek/fpause internal.Anton Khirnov2011-03-21
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_filenoAnton Khirnov2011-03-20
| | | | | | | | It's an evil hack that assumes an AVIOContext is always based on top of an URLContext. It's also not used anywhere. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* rmenc: replace avio_seek(0) with avio_tell()Anton Khirnov2011-03-20
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>