summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
...
* matroskaenc: make SSA default subtitle codec.Anton Khirnov2011-07-12
| | | | | It's a better format and we have an encoder for it, so it doesn't fail like CODEC_ID_TEXT.
* oggdec: prevent heap corruption.Chris Evans2011-07-11
| | | | | | | | Specifically crafted samples can reinit ogg->streams[] while reading samples, and thus we should not cache old pointers since these may no longer be valid. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mpegts: fix Continuity Counter error detectionJindrich Makovicka2011-07-11
| | | | | | | | | According to MPEG-TS specs, the continuity_counter shall not be incremented when the adaptation_field_control of the packet equals '00' or '10'. Signed-off-by: Jindrich Makovicka <jindrich.makovicka@nangu.tv> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* matroskadec: fix stupid typo (!= -> ==)Anton Khirnov2011-07-10
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: rework rules for things in the tools dirMans Rullgard2011-07-10
| | | | | | | | Declaring tools associated with each library in their respective makefiles allows these tools to easily depend on the correct prerequisites and link against the libs they need. Signed-off-by: Mans Rullgard <mans@mansr.com>
* matroskadec: reindentAnton Khirnov2011-07-10
|
* matroskadec: defer parsing of cues element until we seek.Aaron Colwell2011-07-10
| | | | | | | This decreases startup latency. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: make avcodec_alloc_context3 officially public.Anton Khirnov2011-07-10
| | | | Deprecate avcodec_alloc_context/2.
* lavf: add avformat_find_stream_info()Anton Khirnov2011-07-10
| | | | It supports passing options to codecs.
* segafilm: add support for videos with cri adx adpcmMatthew Hoops2011-07-09
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* gxf: Fix 25 fps DV material in GXF being misdetected as 50 fpsTomas Härdin2011-07-09
| | | | | | | | Set DV packet durations using fields_per_frame. This requires turning gxf_stream_info into the demuxer's context for access to the value in gxf_packet(). Since MPEG-2 seems to work fine this done only for DV. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mp3enc: write a xing frame containing number of frames in the fileAnton Khirnov2011-07-08
|
* lavf: update AVStream.nb_frames when muxing.Anton Khirnov2011-07-08
|
* gif: add loop private option.Anton Khirnov2011-07-08
| | | | Deprecate AVFormatContext.loop_output.
* img2: add loop private option.Anton Khirnov2011-07-08
| | | | Deprecate AVFormatContext.loop_input.
* adts: Fix PCE copying.Alex Converse2011-07-06
| | | | | | Parse the extension flag bit when reading the MPEG4 AudioSpecificConfig. This has nothing to do with SBR/PS contradictory to what was noted when it was removed.
* lavf: deprecate AVStream.quality.Anton Khirnov2011-07-06
| | | | AVStream is no place for it and it's unused outside of ffmpeg anyway.
* bink: pass Bink version to audio decoder through extradata instead of codec_tag.Kostya2011-07-06
| | | | | | | This is needed because not all players (e.g. MPlayer) are able to distinguish two different Bink audio decoders when codec_tag is set. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Add some missing mathematics.h #includes for av_rescale().Diego Biurrun2011-07-05
|
* mxfenc: fix ignored drop flag in binary timecode representation.Clément Bœsch2011-07-05
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ogg: propagate return values and return more meaningful error valuesNicolas George2011-07-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* oggdec: Abort Ogg header parsing when encountering a data packet.Reimar Döffinger2011-07-04
| | | | | | Fixes Bugzilla #11. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfenc: small typo fixClément Bœsch2011-07-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Do not include log.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Do not include mathematics.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Do not include intfloat_readwrite.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove return statements following infinite loops without breakMans Rullgard2011-07-03
| | | | | | | These statements cannot be reached and are thus not needed. This removes a number of compiler warnings. Signed-off-by: Mans Rullgard <mans@mansr.com>
* RTSP: Doxygen comment cleanupDiego Biurrun2011-07-03
| | | | | Do not use Doxygen for comments that apply to specific implementation details; merge some duplicated Doxygen comment blocks.
* doxygen: Escape '\' in Doxygen documentation.Diego Biurrun2011-07-03
|
* doxygen: Fix parameter names to match the function prototypes.Diego Biurrun2011-07-03
|
* Move some conditionally used code below the appropriate #ifdef.Diego Biurrun2011-07-03
|
* avidec: simplify convoluted flow in avi_load_index()Mans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove statements immediately following unconditional jumpsMans Rullgard2011-07-03
| | | | | | This removes a number of compiler warnings. Signed-off-by: Mans Rullgard <mans@mansr.com>
* libavformat: Add an example how to use the metadata APIReinhard Tartler2011-07-02
| | | | Also include it into the doxygen documentation
* doxygen: Prefer member groups over grouping into modulesReinhard Tartler2011-07-02
| | | | | | | | | Before this, almost all module groups have been used for grouping functions and fields in structures semantically. This causes them to not appear properly in the file documentation and needlessly clutters up the "Modules" index. Additionally, this commit streamlines some spelling and appearances.
* avformat: doxify the Metadata APIReinhard Tartler2011-07-02
| | | | | convert the comment that documents the metadata API to use the doxygen markup
* lavf: restore old behavior for custom AVIOContex with an AVFMT_NOFILE format.Anton Khirnov2011-07-02
| | | | | | | | | | av_open_input_stream used to allow this, even though it makes no sense. Make it just print a warning instead of failing, thus restoring compatibility. Note that avformat_open_input() will still reject this combination. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: use the correct pointer in av_open_input_stream().Anton Khirnov2011-07-02
|
* avidec: infer absolute vs relative index from first packetAlex Converse2011-07-01
|
* avidec: Factor out the sync fucntionality.Alex Converse2011-07-01
|
* matroskadec: matroska_read_seek after after EBML_STOP leads to failure.John Stebbins2011-07-01
| | | | | | | | | EBML_STOP leaves matroska->current_id set. Then matroska_read_seek changes the stream position without resetting current_id. The next matroska_parse_cluster fails due to calculation of incorrect pos. So clear current_id when avio_seek happens in matroska_read_seek. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* doxygen: Include libavcodec and libavformat examples into the documentationReinhard Tartler2011-06-30
|
* Add support for aac streams in mp4/mov without extradata.Benjamin Larsson2011-06-30
|
* udp: Fix a compilation warningMartin Storsjö2011-06-30
| | | | | | | | | This fixes this compilation warning, by making endptr a non-const pointer, as required by strtol: In function ‘udp_open’: warning: passing argument 2 of ‘strtol’ from incompatible pointer type Signed-off-by: Martin Storsjö <martin@martin.st>
* matroskadec: forward parsing errors to caller.Ami Fischman2011-06-29
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* av_find_stream_info: simplify EAGAIN handling.Ami Fischman2011-06-29
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* ogg: fix double free when finding length of small chained oggs.Ronald S. Bultje2011-06-29
| | | | | | | | ogg_save() copies streams[], but doesn't keep track of free()'ed struct members. Thus, if in between a call to ogg_save() and ogg_restore(), streams[].private was free()'ed, this would result in a double free -> crash, which happened when e.g. playing small chained ogg fragments.
* build: include sub-makefiles using full path instead of symlinksMans Rullgard2011-06-28
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* wavpack: skip blocks with no samplesKostya Shishkov2011-06-28
| | | | | | | These blocks don't report audio stream parameters and they are not needed for decoding. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: Remove redundant config.mak includes from subdirectory Makefiles.Diego Biurrun2011-06-25
| | | | | Calling Make from subdirectories is not supported and config.mak has multiple inclusion guards anyway, so the top-level include is enough.