summaryrefslogtreecommitdiffstats
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
* lavf: add support for error_recognition, use it in avidec, and bump minor ↵Dustin Brody2011-08-124-3/+16
| | | | | | API version Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Rename ffserver to avserver.Anton Khirnov2011-08-094-8/+8
|
* applehttp: fix variant discard logicLuca Barbato2011-08-041-1/+1
| | | | | | | The v->ctx is always not NULL now, check for streams presence to mark the read_header state. Fixes bug #25, possibly introduced by 603b8bc
* lavf: Add an option to discard corrupted framesZohar Kelrich2011-08-023-0/+11
| | | | | Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegts: Mark wrongly-sized packets as corruptedZohar Kelrich2011-08-021-2/+7
| | | | | Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegts: Move scan test to handle_packetsZohar Kelrich2011-08-021-19/+20
| | | | | | | | This fixes an issue where packets which start being read while reading the header stick around after a seek. Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegts: Mark corrupted packetsZohar Kelrich2011-08-021-0/+11
| | | | | Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegts: Reset continuity counter on seekZohar Kelrich2011-08-021-0/+1
| | | | | Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegts: Fix for continuity counterZohar Kelrich2011-08-021-10/+20
| | | | | | | | Make continuity counter respect discontinuity flag and null packets. Unpack the adaptation_field_control field. Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegts: Silence "can't seek" warning on unseekableZohar Kelrich2011-08-021-1/+1
| | | | | | | | Do not try to seek when we already know we are not allowed to. Silences warning that always happens when streaming. Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxfdec: Include FF_INPUT_BUFFER_PADDING_SIZE when allocating extradata.Alex Converse2011-07-291-1/+1
| | | | This prevents out of bounds reads when extradata is being decoded.
* probe: Fix insane flow control.Alex Converse2011-07-291-2/+2
| | | | A loop control variable was shadowed inside the loop and never updated.
* mpegts: remove invalid error checkMike Williams2011-07-291-4/+0
| | | | | | | | mpegts_read_header is used by both mpegts and mpegtsraw, so this erro check is no longer valid. Signed-off-by: Mike Williams <mike@mikebwilliams.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: add forgotten attribute_deprecated to av_find_stream_info()Anton Khirnov2011-07-281-0/+1
|
* ape: adjust some printf format strings to correctly match argument typesDiego Biurrun2011-07-261-4/+7
|
* riff: Add mpgv MPEG-2 fourccAlex Converse2011-07-221-0/+1
| | | | Supported by mplayer and seen in the wild.
* rtp: remove disabled codeDiego Biurrun2011-07-212-39/+0
|
* mov: add clcp type track as Subtitle stream.Thierry Foucu2011-07-211-1/+1
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* matroskadec: fix integer underflow if header length < probe length.Chris Evans2011-07-191-0/+2
| | | | | | This fixes a crash with specifically crafted files. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* rtsp: remove disabled codeDiego Biurrun2011-07-183-17/+0
|
* gxfenc: place variable declarations before statementsDiego Biurrun2011-07-171-1/+2
| | | | libavformat/gxfenc.c:409: warning: ISO C90 forbids mixed declarations and code
* lavf: rename enc variable in utils.c:has_codec_parameters()Stefano Sabatini2011-07-171-12/+12
| | | | | | | Rename it to "avctx", the old name was confusing as the function is used also with decoder contexts. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: use designated initialisers for all (de)muxers.Anton Khirnov2011-07-17132-1466/+1311
| | | | It's more readable and less prone to breakage.
* wav: remove a use of deprecated AV_METADATA_ macroAnton Khirnov2011-07-171-1/+1
|
* rmdec: remove useless ap parameter from rm_read_header_old()Anton Khirnov2011-07-171-2/+2
|
* lavf/utils: drop av_ prefixes from static functions.Anton Khirnov2011-07-151-30/+30
|
* avio: don't replicate avio_alloc_context functionality.Anton Khirnov2011-07-151-10/+3
|
* doxygen: replace @sa tag by the more readable but equivalent @seeDiego Biurrun2011-07-156-7/+7
|
* doxygen: use Doxygen markup for authors and web links where appropriateDiego Biurrun2011-07-154-8/+4
|
* doxygen: do not include license boilerplate in Doxygen documentationDiego Biurrun2011-07-152-4/+7
|
* doxygen: consistently place brief descriptionDiego Biurrun2011-07-143-3/+3
|
* doxygen: place empty line between brief description and detailed descriptionDiego Biurrun2011-07-142-1/+3
| | | | Without it, Doxygen cannot separate them into different sections.
* avformat_open_input(): Add braces to shut up gcc warning.Diego Biurrun2011-07-141-1/+1
| | | | | libavformat/utils.c:599: warning: missing braces around initializer libavformat/utils.c:599: warning: (near initialization for ‘ap.time_base’)
* Add an APIChanges entry and bump minor versions for recent changes.Anton Khirnov2011-07-141-1/+1
|
* doxygen: Make sure parameter names match between .c and .h files.Diego Biurrun2011-07-143-12/+12
|
* lavf: fix invalid reads in avformat_find_stream_info()Anton Khirnov2011-07-141-1/+1
|
* lavf: fix segfault in av_open_input_stream()Anton Khirnov2011-07-131-1/+2
| | | | ic is NULL in case of error.
* mpegtsenc: set Random Access indicator on keyframe start packetsJindrich Makovicka2011-07-131-11/+56
| | | | | Signed-off-by: Jindrich Makovicka <jindrich.makovicka@nangu.tv> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: Cleanup try_decode_frame() logic.Alex Converse2011-07-131-6/+3
| | | | This fixes AAC playback in ffplay.
* build: move tests/seek_test.c to libavformat and reuse generic build rulesDiego Biurrun2011-07-132-1/+134
|
* mxfenc: include needed header for ff_iso8601_to_unix_time() prototypeKostya Shishkov2011-07-131-0/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add a check for strptime().Anton Khirnov2011-07-131-0/+6
| | | | It's an XSI extension, not available on some supported systems.
* lavf: factor out conversion of ISO8601 string to unix timeAnton Khirnov2011-07-136-21/+20
|
* wav: parse 'bext' metadataTomas Härdin2011-07-131-0/+101
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* wav: keep parsing until EOF if the input is seekable and we know the size of ↵Tomas Härdin2011-07-131-15/+32
| | | | | | the data tag Signed-off-by: Anton Khirnov <anton@khirnov.net>
* wav: Refactor the tag checking into a switch statementTomas Härdin2011-07-131-4/+9
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* wav: make sure neither data_size nor sample_count is negative.Tomas Härdin2011-07-131-0/+6
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* wav: refactor the 'fmt ' tag search and parsing.Tomas Härdin2011-07-131-18/+39
| | | | | | | | Moving the search and parsing of the 'fmt ' info the main loop of wav_read_header() allows tags that precede it to be parsed. Creating wav_parse_fmt_tag() makes wav_read_header() easier to read. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* wav: add an option for writing BEXT chunkBenjamin Larsson2011-07-131-0/+78
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Musepack SV7: try to read files without number of frames providedKostya Shishkov2011-07-131-4/+12
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
OpenPOWER on IntegriCloud