summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
...
* | pmpdec: fix integer overflowMichael Niedermayer2013-02-25
| | | | | | | | | | | | | | Its unlikely this affects any valid files. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | hls: do not access pb->opaque for custom IO.Reimar Döffinger2013-02-24
| | | | | | | | | | | | | | | | | | | | | | | | As the name indicates we can't just assume what the "opaque" field contains. This fixes a crash in third-party applications see e.g.: http://bugzilla.mplayerhq.hu/show_bug.cgi?id=2126 This fixes also FFmpeg trac #2293, which is a different third-party application. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Merge commit '56daf10e0313c5e36f43e773f457d2a99ff0df10'Michael Niedermayer2013-02-24
|\| | | | | | | | | | | | | | | * commit '56daf10e0313c5e36f43e773f457d2a99ff0df10': mov: use the format context for logging. flicvideo: avoid an infinite loop in byte run compression Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mov: use the format context for logging.Anton Khirnov2013-02-23
| | | | | | | | CC:libav-stable@libav.org
* | lavf/concatdec: add the "duration" directive.Nicolas George2013-02-24
| |
* | tools: add seek_print.Nicolas George2013-02-24
| | | | | | | | Useful for testing seek implementations.
* | lavf/avio: check that the protocol supports the open mode.Nicolas George2013-02-24
| | | | | | | | Fix trac ticket #2139.
* | pmpdec: check packet sizesMichael Niedermayer2013-02-24
| | | | | | | | | | Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pmpdec: fix signednessMichael Niedermayer2013-02-24
| | | | | | | | | | Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pmpdec: read index before creating audio streamsMichael Niedermayer2013-02-24
| | | | | | | | | | | | | | This allows more complete checks Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pmpdec: check for EOF while reading index.Reimar Döffinger2013-02-24
| | | | | | | | | | | | | | | | Otherwise even a tiny file can trigger a huge memory allocation. Related to ticket #2298. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | avformat: Allocate duration_error separatelyMichael Niedermayer2013-02-23
| | | | | | | | | | | | | | This significantly reduces the memory needed per AVStream when the array is not needed. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | matroskaenc: fix cue tracknum off by 1 errorMichael Niedermayer2013-02-23
| | | | | | | | | | | | Fixes out of array accesses Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | rtmpproto: increase APP_MAX_LENGTHMichael Niedermayer2013-02-23
| | | | | | | | | | | | Fixes second part of Ticket2292 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | rtmpproto: Check APP_MAX_LENGTHMichael Niedermayer2013-02-23
| | | | | | | | | | | | Fixes Ticket2292 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | cafenc: do not leak caf->pkt_sizesPaul B Mahol2013-02-22
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | mxg: do not leak mxg->bufferPaul B Mahol2013-02-22
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | matroska: fix missing ,Andrea30002013-02-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Use SMPTE standard notation when showing mxf Universal Labels.Carl Eugen Hoyos2013-02-21
| |
* | lavf/microdvd: fix muxing.Clément Bœsch2013-02-21
| | | | | | | | This was broken since 1f265f52.
* | lavf/swfdec: remove 8-bit audio FIXME.Clément Bœsch2013-02-21
| | | | | | | | Implemented since 624fb5f9.
* | lavf/swfdec: support 8-bits PCM audio.Clément Bœsch2013-02-20
| |
* | lavf/swfdec: factorize the creation of a new stream.Clément Bœsch2013-02-20
| | | | | | | | This also makes the changes of a3949fe11 applicable in both cases.
* | mov: fix self referencing timecode tracksMichael Niedermayer2013-02-20
| | | | | | | | | | | | | | Fixes read after free. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf/matroskaenc: avoid assert failure in case of cuepoints with duplicated PTSStefano Sabatini2013-02-20
| | | | | | | | | | | | | | | | | | | | Avoid to write more than one cuepoint per track and PTS in mkv_write_cues(). This avoids a later assertion failure on "(bytes >= needed_bytes)" in put_ebml_num() called from end_ebml_master(), in case there are several cuepoints per track with the same PTS. This may happen with files containing packets with duplicated PTS in the same track.
* | nutenc: only write an index if there are syncpointsMichael Niedermayer2013-02-18
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ff_gen_search: Fix finding the maximum timestamp in a really small fileMichael Niedermayer2013-02-18
| | | | | | | | | | | | | | Fixes Assertion failure Found-by: durandal_1707 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ff_read_timestamp: check stream_index before using it as array indexMichael Niedermayer2013-02-18
| | | | | | | | | | | | | | Fixes out of array read Found-by: durandal_1707 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Revert "swfenc: use av_get_audio_frame_duration() instead of ↵Carl Eugen Hoyos2013-02-17
| | | | | | | | | | | | | | | | | | | | | | AVCodecContext.frame_size" This reverts commit 620b88a302d522f71a6a95aff500cf7bd8520043. Fixes ticket #2272. Conflicts: libavformat/swfenc.c
* | lavf: dont try to find fps for attached picturesMichael Niedermayer2013-02-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dshow: Fix MSVC support, remove av_export, which was apparently unneeded anyway.rogerdpack2013-02-15
| | | | | | | | | | | | Also cleanup exported symbols Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Removing network.h from matroskadec.cVignesh Venkatasubramanian2013-02-14
| | | | | | | | | | | | | | Removing accidentally added include file. Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix a few "its" vs "it's" typo.Clément Bœsch2013-02-14
| |
* | Adding AlphaMode element to Matroska ParserVignesh Venkatasubramanian2013-02-14
| | | | | | | | | | | | | | | | | | Adding support for parsing AlphaMode element in the Track header and export that information as a metadata tag. This flag indicates presence of alpha channel data in BlockAdditional element. Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | movenc: hotfix, dont store fiel for h264 / mpeg4-asp / dnxhdMichael Niedermayer2013-02-14
| | | | | | | | | | | | | | Other software does not store it in this case, and the information is provided by the codec stream Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Write the fiel atom to mov files independently of the used video coded.Carl Eugen Hoyos2013-02-14
| | | | | | | | | | | | | | | | | | | | | | The QuickTime specification does not contain any hint that the atom must not be written in some cases and both the QuickTime and the AVID decoders do not fail if the atom is present. This change allows to signal (visually) interlaced streams with a codec different from uncompressed video. As a side-effect, this fixes ticket #2202
* | matroskadec: simplify additional_id writing codeMichael Niedermayer2013-02-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Adding support for parsing BlockAdditionalVignesh Venkatasubramanian2013-02-14
| | | | | | | | | | | | | | | | | | | | | | Matroska specification lists support for BlockAdditional element which is not supported by ffmpeg's matroska parser. This patch adds grammar definitions for parsing that element (and few other related elements) and then puts the data in AVPacket.side_data with new AVPacketSideDataType AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL. Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | WAV muxer: reindentDaniel Verkamp2013-02-13
| |
* | lavf/concatdec: allow probing.Nicolas George2013-02-13
| |
* | lavf/concatdec: add signature directive.Nicolas George2013-02-13
| |
* | lavf/concatdec: add safe option.Nicolas George2013-02-13
| |
* | WAV muxer: add RF64 supportDaniel Verkamp2013-02-12
| |
* | Print mxf Universal Label if the user requested verbose logging.Carl Eugen Hoyos2013-02-11
| | | | | | | | Fixes ticket #2198
* | lavf/matroskaenc: provide more feedback in case of unsupported codecStefano Sabatini2013-02-10
| | | | | | | | Also return meaningful error code.
* | Fix division by 0 due to audio frame sizeMichael Niedermayer2013-02-10
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '81726a4f0b8a43e19898e2a36fdde80583bafff0'Michael Niedermayer2013-02-10
|\| | | | | | | | | | | | | | | * commit '81726a4f0b8a43e19898e2a36fdde80583bafff0': FATE: add tests for additional flavors of asf cover art asfdec: do not assume every AVStream has a corresponding ASFStream Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * asfdec: do not assume every AVStream has a corresponding ASFStreamAnton Khirnov2013-02-09
| | | | | | | | | | | | | | This won't be true for ID3 attached picture. Also stop allocating now useless dummy ASFStreams for ASF native attached pictures.
* | Merge commit 'f5fac6f77752931347ab302563802dcaa49c2419'Michael Niedermayer2013-02-10
|\| | | | | | | | | | | | | | | | | | | | | * commit 'f5fac6f77752931347ab302563802dcaa49c2419': asfdec: support reading ID3v2 tags in ASF files Conflicts: Changelog libavformat/asfdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * asfdec: support reading ID3v2 tags in ASF filesVladimir Pantelic2013-02-09
| | | | | | | | | | | | | | Yes, these files do exist Signed-off-by: Vladimir Pantelic <vladoman@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>