summaryrefslogtreecommitdiff
path: root/libavformat/wtv.c
Commit message (Collapse)AuthorAge
* lavu: replace int/float punning functionsMans Rullgard2011-12-11
| | | | | | | | | | | | | | | | | | 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-30
| | | | It's supposed to be called only from (de)muxers.
* Remove leftover includes of strings.hMartin Storsjö2011-11-06
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegts: Add support for Sections in PMTAlex Converse2011-10-28
|
* mpegts: Add support for multiple mp4 descriptorsAlex Converse2011-10-28
|
* lavf: replace av_new_stream->avformat_new_stream part II.Anton Khirnov2011-10-19
| | | | | | | | 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-19
| | | | | 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-03
|
* Remove all uses of now deprecated metadata functions.Anton Khirnov2011-06-08
|
* handle malloc failures in ff_get_wav_headerMax Horn2011-04-14
| | | | | | | | | | | 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-06
|
* lavf: replace some more avio_seek(SEEK_CUR) with avio_skipAnton Khirnov2011-03-20
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes senseAnton Khirnov2011-03-16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_ferrorAnton Khirnov2011-03-15
| | | | | | AVIOContext.error should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_feofAnton Khirnov2011-03-07
| | | | | | 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-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: replace all uses of url_fskip with avio_seekAnton Khirnov2011-03-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fseekAnton Khirnov2011-03-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefixes for get_* functionsAnton Khirnov2011-02-21
| | | | | | | | | | | | | | 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-21
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: rename ByteIOContext to AVIOContext.Anton Khirnov2011-02-20
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* wtv: ignore empty data_guid chunksPeter Ross2011-02-13
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* wtv: mark streams intended for hearing or visual impaired personsPeter Ross2011-02-10
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* reindent after last commitPeter Ross2011-02-05
| | | | 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-05
| | | | | | | | 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-03
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* wtv: filesystem implementationPeter Ross2011-02-03
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-26
| | | | | 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-14
| | | | | | unreliable Originally committed as revision 26327 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix indentationPeter Ross2011-01-09
| | | | 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-09
| | | | 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-09
| | | | 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-09
| | | | Originally committed as revision 26275 to svn://svn.ffmpeg.org/ffmpeg/trunk
* wtv: fix typoPeter Ross2011-01-09
| | | | Originally committed as revision 26274 to svn://svn.ffmpeg.org/ffmpeg/trunk
* wtv: obtain codec information from stream2_guid chunks, if presentPeter Ross2011-01-04
| | | | Originally committed as revision 26208 to svn://svn.ffmpeg.org/ffmpeg/trunk
* wtv: display warning if scrambled stream is detectedPeter Ross2011-01-02
| | | | Originally committed as revision 26197 to svn://svn.ffmpeg.org/ffmpeg/trunk
* wtv: parse MPEG2 descriptor eventsPeter Ross2010-12-29
| | | | Originally committed as revision 26126 to svn://svn.ffmpeg.org/ffmpeg/trunk
* wtv: only warn about unknown subtype, if it actually unknownPeter Ross2010-12-29
| | | | Originally committed as revision 26123 to svn://svn.ffmpeg.org/ffmpeg/trunk
* wtv: use correct names for subtitle and language guidsPeter Ross2010-12-29
| | | | Originally committed as revision 26122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Windows Televison (WTV) demuxerPeter Ross2010-12-26
Originally committed as revision 26094 to svn://svn.ffmpeg.org/ffmpeg/trunk