summaryrefslogtreecommitdiffstats
path: root/libavformat/wtv.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-18/+18
|
* wtv: Check the return value from gmtimeMartin Storsjö2012-06-251-3/+15
| | | | | | | | 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>
* lavf: remove AVFormatParameters from AVFormatContext.read_header signatureAnton Khirnov2012-01-271-1/+1
|
* wtv: fix memleaks during normal operationJanne Grunau2012-01-111-0/+3
|
* lavu: replace int/float punning functionsMans Rullgard2011-12-111-3/+3
| | | | | | | | | | | | | | | | | | The existing functions defined in intfloat_readwrite.[ch] are both slow and incorrect (infinities are not handled). This introduces a new header with fast, inline conversion functions using direct union punning assuming an IEEE-754 system, an assumption already made throughout the code. The one use of Intel/Motorola extended 80-bit format is replaced by simpler code sufficient under the present constraints (positive normal values). The old functions are marked deprecated and retained for compatibility. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: make av_set_pts_info private.Anton Khirnov2011-11-301-1/+1
| | | | It's supposed to be called only from (de)muxers.
* Remove leftover includes of strings.hMartin Storsjö2011-11-061-1/+0
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegts: Add support for Sections in PMTAlex Converse2011-10-281-1/+1
|
* mpegts: Add support for multiple mp4 descriptorsAlex Converse2011-10-281-1/+1
|
* lavf: replace av_new_stream->avformat_new_stream part II.Anton Khirnov2011-10-191-1/+2
| | | | | | | | Manual replacements are done in this commit. In many cases, the id is some constant made up number (e.g. 0 for video and 1 for audio), which is then not used in the demuxer for anything. Those ids are removed.
* lavf,lavd: replace av_new_stream->avformat_new_stream part I.Anton Khirnov2011-10-191-1/+1
| | | | | Trivial replacements with sed are done in this commit: sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
* doxygen: Fix parameter names to match the function prototypes.Diego Biurrun2011-07-031-1/+1
|
* Remove all uses of now deprecated metadata functions.Anton Khirnov2011-06-081-3/+4
|
* handle malloc failures in ff_get_wav_headerMax Horn2011-04-141-1/+3
| | | | | | | | | | | ff_get_wav_header is reading data from a WAVE file and then uses it (without validation) to malloc a buffer. It then proceeded to read data into the buffer, without verifying that the allocation succeeded. To address this, change ff_get_wav_header to return an error if allocation failed, and adapted all calling code to handle that error. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Reemove remaining uses of deprecated AVERROR_NOTSUPP.Anton Khirnov2011-04-061-1/+1
|
* lavf: replace some more avio_seek(SEEK_CUR) with avio_skipAnton Khirnov2011-03-201-2/+2
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes senseAnton Khirnov2011-03-161-27/+27
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_ferrorAnton Khirnov2011-03-151-1/+1
| | | | | | AVIOContext.error should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_feofAnton Khirnov2011-03-071-5/+5
| | | | | | AVIOContext.eof_reached should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov2011-03-041-2/+2
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: replace all uses of url_fskip with avio_seekAnton Khirnov2011-03-011-29/+29
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fseekAnton Khirnov2011-03-011-13/+13
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefixes for get_* functionsAnton Khirnov2011-02-211-28/+28
| | | | | | | | | | | | | | In the name of consistency: get_byte -> avio_r8 get_<type> -> avio_r<type> get_buffer -> avio_read get_partial_buffer will be made private later get_strz is left out becase I want to change it later to return something useful. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: rename av_alloc_put_byte -> avio_alloc_context for consistencyAnton Khirnov2011-02-211-1/+1
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: rename ByteIOContext to AVIOContext.Anton Khirnov2011-02-201-18/+18
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* wtv: ignore empty data_guid chunksPeter Ross2011-02-131-1/+1
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* wtv: mark streams intended for hearing or visual impaired personsPeter Ross2011-02-101-1/+18
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* reindent after last commitPeter Ross2011-02-051-8/+8
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* wtv: do not use flag in stream_guid chunk to determine if stream is valid, ↵Peter Ross2011-02-051-6/+2
| | | | | | | | as this method is unreliable This fixes roundup issue 2556. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* add ff_index_search_timestamp and ff_add_index_entryPeter Ross2011-02-031-0/+1
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* wtv: filesystem implementationPeter Ross2011-02-031-78/+564
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-261-1/+1
| | | | | This also lists the objects from those two libraries as internal (by adding the ff_ prefix) so that they can then be hidden via linker scripts.
* wtv: ignore VIDEOINFOHEADER2 picture aspect ratio information, as it is ↵Peter Ross2011-01-141-6/+1
| | | | | | unreliable Originally committed as revision 26327 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix indentationPeter Ross2011-01-091-9/+9
| | | | Originally committed as revision 26278 to svn://svn.ffmpeg.org/ffmpeg/trunk
* wtv: only process timestamp_guid chunks for streams that we know aboutPeter Ross2011-01-091-0/+3
| | | | Originally committed as revision 26277 to svn://svn.ffmpeg.org/ffmpeg/trunk
* wtv: do not repopulate codec information after we have seen data chunksPeter Ross2011-01-091-1/+11
| | | | Originally committed as revision 26276 to svn://svn.ffmpeg.org/ffmpeg/trunk
* wtv: stop processing chunks if length is smaller than chunk headerPeter Ross2011-01-091-0/+2
| | | | Originally committed as revision 26275 to svn://svn.ffmpeg.org/ffmpeg/trunk
* wtv: fix typoPeter Ross2011-01-091-1/+1
| | | | Originally committed as revision 26274 to svn://svn.ffmpeg.org/ffmpeg/trunk
* wtv: obtain codec information from stream2_guid chunks, if presentPeter Ross2011-01-041-15/+42
| | | | Originally committed as revision 26208 to svn://svn.ffmpeg.org/ffmpeg/trunk
* wtv: display warning if scrambled stream is detectedPeter Ross2011-01-021-1/+10
| | | | Originally committed as revision 26197 to svn://svn.ffmpeg.org/ffmpeg/trunk
* wtv: parse MPEG2 descriptor eventsPeter Ross2010-12-291-28/+38
| | | | Originally committed as revision 26126 to svn://svn.ffmpeg.org/ffmpeg/trunk
* wtv: only warn about unknown subtype, if it actually unknownPeter Ross2010-12-291-2/+2
| | | | Originally committed as revision 26123 to svn://svn.ffmpeg.org/ffmpeg/trunk
* wtv: use correct names for subtitle and language guidsPeter Ross2010-12-291-4/+4
| | | | Originally committed as revision 26122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Windows Televison (WTV) demuxerPeter Ross2010-12-261-0/+551
Originally committed as revision 26094 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud