summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* mxf: Read field dominance flagMatthieu Bouron2014-02-01
| | | | | | And export the information in field_order. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxf: Handle negative edit_rateLuca Barbato2014-02-01
| | | | Default to 1/25.
* lavf: include 60 fps in guessed standard frame ratesJanne Grunau2014-01-31
| | | | | Due to what looks like an off-by-one error 60 * 12 * 1001 / 12 * 1001 is not tested as standard frame rate in avformat_find_stream_info().
* avformat: utils: Refactor duplicated PRINT macroDiego Biurrun2014-01-29
|
* avformat: utils: K&R formatting cosmeticsDiego Biurrun2014-01-26
| | | | Also adjust some comment wording / spelling and reorder header #includes.
* rtpdec_asf: Copy the need_parsing field from the chained demuxerMartin Storsjö2014-01-23
| | | | | | | This fixes playback of mp3 streams in rtp/asf. This used to work until c6f1dc8, but mostly by coincidence. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpproto: Send a full, absolute timestamp if it isn't monotonically growingMartin Storsjö2014-01-20
| | | | | | | | The normal differential timestamps can't handle negative differences, thus send a full packet header with an absolute timestamp in these cases. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmpproto: Avoid using uninitialized memoryMartin Storsjö2014-01-20
| | | | | | | If the url ends with .flv, we stripped it but didn't initialize rt->playpath, doing av_strlcat on an uninitialized buffer. Signed-off-by: Martin Storsjö <martin@martin.st>
* mov: do not set avg_frame_rate in the demuxerJustin Ruggles2014-01-20
| | | | | | | | | | | The track duration is often not reliable or is not the duration represented by the number of frames. In those cases, avg_frame_rate was reported incorrectly. Removing this code falls back to the default calculation in avformat_find_stream_info(). This is a partial revert of commit c3aeaa540. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avisynth: fix setting packet propertiesMichael Niedermayer2014-01-17
| | | | | | Reviewed-by: Stephen Hutchinson <qyot27@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* yuv4mpeg: set average frame rateAnton Khirnov2014-01-17
|
* mp3enc: allow omitting the id3v2 header with -id3v2_version 0Anton Khirnov2014-01-17
|
* mp3enc: add an option for disabling the Xing frame.Anton Khirnov2014-01-17
|
* mov: Free an earlier allocated array if allocating a new oneMartin Storsjö2014-01-15
| | | | | | | | | | | It could probably also be considered an error if the pointer isn't null at this point, but then we might risk rejecting some slightly broken files that we might have handled so far. Sample-Id: 00000496-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* mov: Free intermediate arrays in the normal cleanup functionMartin Storsjö2014-01-15
| | | | | | | | | | | | | These arrays are normally freed at the end of mov_read_trak, but make sure they're freed in case mov_read_trak returned early (due to errors) or in case the atoms that allocate arrays are encountered at some other point than within a trak (which we don't have checks against). Sample-Id: 00000496-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* mxf: Fix potential leak in mxf_read_local_tags()Tomas Härdin2014-01-14
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxf: Correctly support files from Pinnacle ThunderTomas Härdin2014-01-14
| | | | | | | | | | | | | | | | | | | | | | | | Such files have IndexTableSegments which when parsed cover EditUnit ranges like this: [0,1) [249,250) [249,377) [0,249) where each interval is [IndexStartPosition, IndexStartPosition + IndexDuration) This would be reduced to a sparse index like: [0,1), [249,250) instead of the full range: [0,249), [249,377) Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxf: Fix a possible leak of extradataMichael Niedermayer2014-01-14
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mxf: Use av_malloc_arrayLuca Barbato2014-01-14
|
* mxf: Drop unnecessary checksLuca Barbato2014-01-14
| | | | av_reallocp_array does the check already.
* mxf: Fix off by one error in d10 aes3 decodingMarton Balint2014-01-14
| | | | Without this fix the last sample was missing from the packet.
* mxf: Do not use int to check the seek positionLuca Barbato2014-01-14
| | | | | | Overly large files are to be expected. Reported-by: Jean-Baptiste Kempf <jb@videolan.org>
* mxf: Set AV_FIELD_PROGRESSIVEReimar Döffinger2014-01-14
| | | | | | Needed for AVC-intra Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavf: make av_probe_input_buffer more robustAnton Khirnov2014-01-13
| | | | | | | Always use the actually read size as the offset instead of making possibly invalid assumptions. Addresses: CVE-2012-6618
* lavf: use a fixed width typeAnton Khirnov2014-01-13
| | | | It's shorter and more consistent with the rest of the code.
* lavf: simplify handling of offset in av_probe_input_buuffer()Anton Khirnov2014-01-13
|
* flv: Workaround for buggy Omnia A/XE encoderBenjamin Larsson2014-01-11
| | | | | | | | | The Omnia A/XE encoder writes the explicit extra data incorrectly and wrongly disables parametric stereo. Truncating the extra data by setting the size to 2 works around this. The AAC extra data parser will then only parse the correct parts. Bug-id: 599
* flac muxer: add option to disable writing the global headerJustin Ruggles2014-01-09
| | | | | The global header is not explicitly required for playback, and omitting it allows for simple concatenation.
* ATRAC3+ decoderMaxim Polijakowski2014-01-09
| | | | | | Cleanup by Diego Biurrun. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* network.h: Add #endif comments to improve readabilityDiego Biurrun2014-01-06
|
* segafilm: fix leaks if reading the header failsAnton Khirnov2014-01-06
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* lavf: remove a pointless checkAnton Khirnov2014-01-06
| | | | AVStream.codec is always non-NULL
* oggparseogm: check timing variablesAnton Khirnov2014-01-06
| | | | | | | Fixes a potential divide by zero. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* sdp: Check that fmt->oformat is non-null before accessing itMartin Storsjö2014-01-05
| | | | | | | | This avoids crashes when avserver tries to create an SDP, since d77f4af. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* pmpdec: check that there is at least one audio packet.Anton Khirnov2014-01-03
| | | | | | | | The code cannot handle there being none, but that should not happen for valid files. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* avutil: Move library version related macros to version.hDiego Biurrun2013-12-26
| | | | This is a more sensible place for these macros.
* mms: Remove non-utf8 charactersLuca Barbato2013-12-26
| | | | | | Certain softwares get badly confused. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Add a libwebp encoderJustin Ruggles2013-12-21
|
* flv: Use the correct type to hold the file offsetLuca Barbato2013-12-20
|
* jvdec: Do not feed the decoder with known wrong dataLuca Barbato2013-12-20
| | | | Still assume the size value is right in non-explode mode.
* jvdec: Fix memory leak of jv->framesPaul B Mahol2013-12-20
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* jvdec: Return EOF on end of fileLuca Barbato2013-12-20
|
* rtpdec_h264: Check the return value of functions doing allocationsMichael Niedermayer2013-12-14
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* sdp: Check theora colorspace before producing the configuration stringMartin Storsjö2013-12-14
| | | | | | | This avoids a memory leak (or having to worry about freeing the config string) if the colorspace isn't accepted. Signed-off-by: Martin Storsjö <martin@martin.st>
* hdsenc: Check the init_file() return codeMichael Niedermayer2013-12-14
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* hdsenc: Fix an off by one error in an array size checkMichael Niedermayer2013-12-14
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* hdsenc: Avoid integer overflowMichael Niedermayer2013-12-14
| | | | | | Also remove a silly leftover pair of parentheses. Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegts: add HEVC registration descriptorCarl Eugen Hoyos2013-12-12
|
* img2: add stereo 3d still picture file extensionsMartin Lambers2013-12-12
|
* rtsp: suppress a incompatible pointer types warningVittorio Giovara2013-12-12
|