summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* avformat: remove use of deprecated AVFMT_FLAG_KEEP_SIDE_DATA flagJames Almer2017-10-29
| | | | | | | It has no effect whatsoever since the major bump. Replace the flag's documentation to reflect this as well. Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit '279e3aaa14daba6b7a37d75f3fb6e29c732d123f'James Almer2017-10-28
|\ | | | | | | | | | | | | * commit '279e3aaa14daba6b7a37d75f3fb6e29c732d123f': flv: Validate the packet size Merged-by: James Almer <jamrial@gmail.com>
| * flv: Validate the packet sizeLuca Barbato2017-04-20
| | | | | | | | | | | | | | Size can be negative at that point. Bug-Id: 1041 CC: libav-stable@libav.org
| * utvideodec: Support ULY4 and ULH4Paul B Mahol2017-04-15
| | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * utvideodec: Support UQRA and UQRGPaul B Mahol2017-04-15
| |
| * utvideodec: Support UQY2Paul B Mahol2017-04-13
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avformat/ac3dec: Check buf2 before adding 16 in ac3_eac3_probe()Michael Niedermayer2017-10-28
| | | | | | | | | | | | | | | | | | This is needed since e0250cf3651e6417e0117486a7816b45fb2d34cd as that uses end-buf2 Note, there are more than 16 bytes allocated beyond "end" Fixes: regression (segfault) with probetest Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/mov.c: Fix parsing of edit list atoms with invalid elst entry count.Sasi Inguva2017-10-28
| | | | | | | | | | Signed-off-by: Sasi Inguva <isasi@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | dashenc: move UTCTiming element to the end of the manifestPeter Große2017-10-28
| | | | | | | | | | | | | | | | Required by comformance XSD [1]. [1] https://github.com/Dash-Industry-Forum/Conformance-and-reference-source/blob/master/conformance/MPDValidator/schemas/DASH-MPD.xsd Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | dashenc: use av_dict_set_int instead of static functionPeter Große2017-10-28
| | | | | | | | | | Signed-off-by: Peter Große <pegro@friiks.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '9e4a5eb51b9f3b2bff0ef08e0074b7fe4893075d'James Almer2017-10-28
|\| | | | | | | | | | | | | * commit '9e4a5eb51b9f3b2bff0ef08e0074b7fe4893075d': avformat: Free the internal codec context at the end Merged-by: James Almer <jamrial@gmail.com>
| * avformat: Free the internal codec context at the endLuca Barbato2017-04-13
| | | | | | | | | | | | Avoid a use after free in avformat_find_stream_info. CC: libav-stable@libav.org
| * Add FM Screen Capture Codec decoderPaul B Mahol2017-04-13
| | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Merge commit '50a1c66cf6ab7eb683daaa9e2da3869fa3a54609'James Almer2017-10-27
|\| | | | | | | | | | | | | | | | | | | | | * commit '50a1c66cf6ab7eb683daaa9e2da3869fa3a54609': ac3_parser: add a public function for parsing the data required by the demuxer avpriv_ac3_parse_header() is left in place but without the GetBitContext parameter, as the mov muxer requires a lot more fields than just bitstream_id and frame_size from the AC3HeaderInfo struct. Merged-by: James Almer <jamrial@gmail.com>
| * ac3_parser: add a public function for parsing the data required by the demuxerAnton Khirnov2017-04-12
| | | | | | | | | | | | Make the current semi-public avpriv_ac3_parse_header() private to lavc. Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * matroska: Read only the data written in the scratch bufferLuca Barbato2017-04-10
| | | | | | | | | | The private buffer is 20bytes but depending on the type only 12 bytes are actually filled.
* | flvdec: Check the avio_seek return value after reading a metadata packetMartin Storsjö2017-10-27
| | | | | | | | | | | | | | | | | | | | | | | | merge from libav: 585dc1aecef0371ad6f16cb3750ae2a6da9cf00a If the metadata packet is corrupted, flv_read_metabody can accidentally read past the start of the next packet. If the start of the next packet had been flushed out of the IO buffer, we would be unable to seek to the right position (on a nonseekable stream). Prefer to clearly error out instead of silently trying to read from a desynced stream which will only be interpreted as garbage.
* | Revert "flvdec: Check the avio_seek return value after reading a metadata ↵Steven Liu2017-10-27
| | | | | | | | | | | | packet" This reverts commit ef7fe81b8554a2865d47a55edf47420878fa3d91.
* | lavf: Remove AVFMT_RAWPICTURE.Carl Eugen Hoyos2017-10-26
| | | | | | | | Deprecated since October 2015.
* | Merge commit '604fbb3132e88727e496c96c92cfe02748c25a1a'James Almer2017-10-26
|\| | | | | | | | | | | | | * commit '604fbb3132e88727e496c96c92cfe02748c25a1a': mov: Move code shared with CAF to a separate file Merged-by: James Almer <jamrial@gmail.com>
| * mov: Move code shared with CAF to a separate fileDiego Biurrun2017-04-03
| |
| * takdec: Use ISO C printf conversion specifiers where appropriateDiego Biurrun2017-03-31
| | | | | | | | libavformat/takdec.c:144:20: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'uint32_t'
| * nsvdec: don't ignore the return value of av_get_packet()Sean McGovern2017-03-26
| | | | | | | | | | | | | | Fixes invalid reads with corrupted files. CC: libav-stable@libav.org Bug-Id: 1039
| * rtmpproto: send swfverify value as swfurl if latter is unusedRicardo Constantino2017-03-26
| | | | | | | | | | | | | | | | | | Replicates lavf/librtmp.c behavior in L145-152 and rtmpdump's behavior with "--swfVfy <url>" passing the url to swfUrl. Fixes bug 943. Signed-off-by: Martin Storsjö <martin@martin.st>
| * spherical: Change types of bounding and pad to uint32_tVittorio Giovara2017-03-23
| | | | | | | | | | | | | | | | | | These values are defined to be 32bit in the specification, so it makes more sense to store them as fixed width. Based on a patch by Micahel Niedermayer <michael@niedermayer.cc>. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | avformat/yuv4mpeg: add gray9/10/12 supportMateusz2017-10-26
| | | | | | | | Signed-off-by: Mateusz Brzostek <mateuszb@poczta.onet.pl>
* | avformat/wavenc: skip writing incorrect peak-of-peaks position valueTobias Rapp2017-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | According to EBU tech 3285 supplement 3 the dwPosPeakOfPeaks field should contain the absolute position to the maximum audio sample value, but the current implementation writes the relative peak frame index instead. Fix the issue by writing the "unknown" value (-1) for now until the feature is implemented correctly. Previous version reviewed-by: Peter Bubestinger <p.bubestinger@av-rd.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* | avcodec/exif: remove GetByteContext usage from avpriv_exif_decode_ifd()James Almer2017-10-26
| | | | | | | | | | | | | | This prevents potential ABI issues with GetByteContext. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/tak: remove GetBitContext usage from avpriv_tak_parse_streaminfo()James Almer2017-10-26
| | | | | | | | | | | | | | This prevents potential ABI issues with GetBitContext. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | mov: fix decode of fragments that overlap in timeJohn Stebbins2017-10-23
| | | | | | | | | | | | | | | | | | | | | | | | When keyframe intervals of dash segments are not perfectly aligned, fragments in the stream can overlap in time. The previous sorting by timestamp causes packets to be read out of decode order and results in decode errors. Insert new "trun" index entries into index_entries in the order that the trun are referenced by the sidx. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/avio: Print the https warning also for missing tls protocol.Carl Eugen Hoyos2017-10-23
| |
* | avformat: remove dead av_stream_get_side_data() cruftJames Almer2017-10-22
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avformat: remove ABI portion of the side data merging APIJames Almer2017-10-22
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avformat: Drop deprecated feof() AVIO fuctionJames Almer2017-10-21
| | | | | | | | Deprecated in 08/2014.
* | Merge commit '63fe79a3368cc53e6faf7fa265a9a1a8bec46a88'James Almer2017-10-21
|\| | | | | | | | | | | | | * commit '63fe79a3368cc53e6faf7fa265a9a1a8bec46a88': lavf: Drop deprecated hint to set muxer timebase Merged-by: James Almer <jamrial@gmail.com>
| * lavf: Drop deprecated hint to set muxer timebaseVittorio Giovara2017-03-23
| | | | | | | | Deprecated in 05/2014.
* | Merge commit '263358e0c9e7ffaa965fdbe986c8b18381d2b24a'James Almer2017-10-21
|\| | | | | | | | | | | | | * commit '263358e0c9e7ffaa965fdbe986c8b18381d2b24a': lavf: Drop deprecated AVFract type and related field Merged-by: James Almer <jamrial@gmail.com>
| * lavf: Drop deprecated AVFract type and related fieldVittorio Giovara2017-03-23
| | | | | | | | Deprecated in 05/2014.
* | Merge commit '5e71299758d3aa7c93c3cca618a8e048a9483794'James Almer2017-10-21
|\| | | | | | | | | | | | | * commit '5e71299758d3aa7c93c3cca618a8e048a9483794': lavf: Drop deprecated bitexact functionality Merged-by: James Almer <jamrial@gmail.com>
| * lavf: Drop deprecated bitexact functionalityVittorio Giovara2017-03-23
| | | | | | | | Deprecated in 05/2014.
* | Merge commit '07a2b155949eb267cdfc7805f42c7b3375f9c7c5'James Almer2017-10-21
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '07a2b155949eb267cdfc7805f42c7b3375f9c7c5': Bump major versions of all libraries A few API deprecated ~2 years ago or more are also postponed here for varying reasons. FF_API_LOWRES: Since this functionality depends on AVStream->codec, i figure the two can be removed at the same time in the next bump or so. FF_API_AVCTX_TIMEBASE: Couldn't get this one to work. Not just libavcodec but apparently also libavformat and ffmpeg.c expect AVCodecContext->time_base to be set for decoding. Upon removal some tests report a different generic stream time base (like 1/25), and others lose packet duration values. I guess it's somehow tied to the AVStream->codec clusterfuck. It can be dealt with alongside FF_API_LAVF_AVCTX in the next bump. FF_API_OLD_FILTER_OPTS_ERROR: This one is meant to remain after FF_API_OLD_FILTER_OPTS is removed. Its purpose is displaying the corrected command line using the new syntax as a suggestion as part of the error message. Merged-by: James Almer <jamrial@gmail.com>
| * Bump major versions of all librariesVittorio Giovara2017-03-23
| | | | | | | | | | | | | | | | | | This disables everything that was deprecated at least 18 months ago. Readjust the minimum API version as needed, postponing any API-incompatible changes until the next bump. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * flvdec: Set avg_frame_rate for video streamsCarl Eugen Hoyos2017-03-22
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * rtsp: Move message parsing to a separate functionLuca Barbato2017-03-21
| | | | | | | | | | Make easier to handle the polling function before we implement full threading support.
* | Merge commit 'b864230c49089b087eef56988a3d6a784f6f9827'James Almer2017-10-21
|\| | | | | | | | | | | | | * commit 'b864230c49089b087eef56988a3d6a784f6f9827': rtmp: Move RTMP digest calculation to a separate file Merged-by: James Almer <jamrial@gmail.com>
| * rtmp: Move RTMP digest calculation to a separate fileDiego Biurrun2017-03-20
| | | | | | | | The rtmpcrypt protocol requires it.
* | Merge commit '827a05eaa9482e9ac2a17f7f2e42ead07c1d7574'James Almer2017-10-21
|\| | | | | | | | | | | | | | | | | | | | | * commit '827a05eaa9482e9ac2a17f7f2e42ead07c1d7574': matroskaenc: add support for Spherical Video elements See 58eb0f57f6702d57b6f97ec5010657bb2c076eff. Merged for cosmetics purposes. Also includes changes from d32d59bc977b43031007bb2ab21e232f96d2ebcb Merged-by: James Almer <jamrial@gmail.com>
| * matroskaenc: add support for Spherical Video elementsJames Almer2017-03-15
| | | | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Minor cosmetic changes by committer. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * Add Cineform HD DecoderKieran Kunhya2017-03-09
| | | | | | | | | | | | | | | | | | | | Decodes YUV 4:2:2 10-bit and RGB 12-bit files. Older files with more subbands, skips, Bayer, alpha not supported. Further fixes and refactorings by Anton Khirnov <anton@khirnov.net>, Diego Biurrun <diego@biurrun.de>, Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * mkv: Export bounds and padding from spherical metadataVittorio Giovara2017-03-07
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>