summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* Merge commit '3794062ab1a13442b06f6d76c54dce51ffa54697'Clément Bœsch2017-04-09
|\ | | | | | | | | | | | | * commit '3794062ab1a13442b06f6d76c54dce51ffa54697': Remove Plan 9 support Merged-by: Clément Bœsch <u@pkh.me>
| * Remove Plan 9 supportDiego Biurrun2016-12-03
| | | | | | | | | | | | Supporting the system was a nice joke for the 9 release, but it has run its course. Nowadays Plan 9 receives no testing and has no practical usefulness.
| * avisynth: Cast to the right type when loading avisynth library functionsDiego Biurrun2016-11-29
| | | | | | | | Fixes a number of related warnings.
| * build: Drop gcrypt supportDiego Biurrun2016-11-25
| | | | | | | | GnuTLS in combination with gcrypt has been deprecated since 2010.
* | avformat/matroskaenc: don't try to update flac extradata if live streamingJames Almer2017-04-08
| |
* | lavf: use the new bitstream filter for extracting extradataJames Almer2017-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This merges commits 8e2ea691351c5079cdab245ff7bfa5c0f3e3bfe4 and 096a8effa3f8f3455292c958c3ed07e798def7bd by Anton Khirnov, with the following change: - extract_extradata_check() is added to know if the codec is supported by the bsf before trying to initialize it. This behaviour is similar to the old AVCodecParser.split checks. The FATE reference changes are due to the filtered out NAL units that the old AVCodecParser.split implementation left alone. Decoding is unchanged as the functions that parse extradata simply ignored said unnecessary NAL units. Signed-off-by: James Almer <jamrial@gmail.com>
* | avformat/dump : Display Content Light Level metadataSteve Lhomme2017-04-06
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | libavformat/mov: Fix memory leak, need to free the chapter tracks arrayThierry Foucu2017-04-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/ftp: Solve a crash bug when network occur a exceptiontiejun.peng@foxmail.com2017-04-05
| | | | | | | | | | | | | | | | | | | | This fixes a proble where ffmpeg would cause crash to do a seek when the network disconnect. The log like this: 01-01 10:53:03.441 6580 6580 F DEBUG : backtrace: 01-01 10:53:03.441 6580 6580 F DEBUG : #00 pc 0002942e /system/lib/libavformat.so (ffurl_write+9) Signed-off-by: tiejun.peng <tiejun.peng@foxmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | rtp: rfc4175: add handler for YCbCr-4:2:2Damien Riegel2017-04-05
| | | | | | | | | | | | | | | | | | | | | | This adds partial support for the RFC 4175 (raw video over RTP). The only supported formats are the YCbCr-4:2:2 8 bit because it's natively supported by FFmpeg with pixel format UYVY, and 10 bit which requires the vrawdepay codec to convert the payload in a format handled by FFmpeg. Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com> Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | Merge commit '537b5b773b317af79d3a5b576ee9683e15ed84f6'James Almer2017-04-04
|\| | | | | | | | | | | | | * commit '537b5b773b317af79d3a5b576ee9683e15ed84f6': rtmpdh: Do global initialization before running the test Merged-by: James Almer <jamrial@gmail.com>
| * rtmpdh: Do global initialization before running the testMartin Storsjö2016-11-24
| | | | | | | | | | | | | | | | | | The rtmpdh code can use crypto libraries which may require a process global init. (gcrypt is one of the libraries where the rtmpdh test code can fail if global init hasn't been done, depending on gcrypt version.) Signed-off-by: Martin Storsjö <martin@martin.st>
| * rdt: Convert to the new bitstream readerAlexandra Hájková2016-11-24
| |
| * ogg: Convert to the new bitstream readerAlexandra Hájková2016-11-24
| |
| * mpegts: Convert to the new bitstream readerAlexandra Hájková2016-11-24
| |
| * matroska: use av_stream_add_side_data() for stereo3d side dataJames Almer2016-11-23
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * mov: Use av_stream_add_side_data() for displaymatrix side dataJames Almer2016-11-23
| | | | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * utils: Add av_stream_add_side_data()James Almer2016-11-23
| | | | | | | | | | | | | | | | Functionally similar to av_packet_add_side_data(). Allows the use of an already allocated buffer as stream side data. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * ape: Restructure DEBUG ifdefs to avoid unused function parameter warningsDiego Biurrun2016-11-22
| |
| * rtpdec_mpeg4: const correctness for parse_fmtp_config()Diego Biurrun2016-11-21
| | | | | | | | libavformat/rtpdec_mpeg4.c:282:38: warning: passing argument 2 of ‘parse_fmtp_config’ discards ‘const’ qualifier from pointer target type
| * hlsenc: Fix the openssl supportLuca Barbato2016-11-18
| |
| * hlsenc: Add encryption supportLuca Barbato2016-11-17
| | | | | | | | Partially based on Christian Suloway <csuloway@globaleagleent.com> work.
* | avformat/mov: Check creation_time for overflowMichael Niedermayer2017-04-04
| | | | | | | | | | | | | | | | Fixes integer overflow Fixes: 701640 Found-by: Found-by: Thomas Guilbert <tguilbert@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Bump versions for master after 3.3Michael Niedermayer2017-04-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Bump minor for 3.3Michael Niedermayer2017-04-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/oggparsedaala: Do not leave an invalid value in gpshiftMichael Niedermayer2017-04-01
| | | | | | | | | | | | | | | | | | Fixes: undefined behavior Fixes: 702974 Found-by: Thomas Guilbert <tguilbert@google.com> Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/oggparsedaala: Check duration for AV_NOPTS_VALUEMichael Niedermayer2017-04-01
| | | | | | | | | | | | | | | | | | | | | | This avoids an integer overflow the solution matches oggparsevorbis.c and 45581ed15d2ad5955e24d809820c1675da68f500 Fixes: 700242 Found-by: Thomas Guilbert <tguilbert@google.com> Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'd860a3cc0a12360a92b9ffd179a0c34413beaf88'Clément Bœsch2017-04-01
|\| | | | | | | | | | | | | | | | | * commit 'd860a3cc0a12360a92b9ffd179a0c34413beaf88': crypto: Add encryption support See 00d4013d9f841c189a2f10dd05526ca40129b880 Merged-by: Clément Bœsch <u@pkh.me>
| * crypto: Add encryption supportChristian Suloway2016-11-17
| | | | | | | | | | | | Signed-off-by: Christian Suloway <csuloway@globaleagleent.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '3cc3463f306f425f76bd962755df1132eeac6dfa'Clément Bœsch2017-04-01
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '3cc3463f306f425f76bd962755df1132eeac6dfa': avisynth: Support pix_fmts added to AviSynth+ This commit is mostly a noop, see 92916e8542e425ca20daddb490261a5818643206. Cosmetics and a small fix are merged. Merged-by: Clément Bœsch <u@pkh.me>
| * avisynth: Support pix_fmts added to AviSynth+Stephen Hutchinson2016-11-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A number of new pix_fmts* have been added to AviSynth+: 16-bit packed RGB and RGBA 10-, 12-, 14, and 16-bit YUV 4:2:0, 4:2:2, and 4:4:4 8-, 10-, 12-, 14-, and 16-bit Planar RGB 8-, 10-, 12-, 14-, and 16-bit Planar YUVA and Planar RGBA 10-, 12-, 14-, and 16-bit GRAY variants 32-bit floating point Planar YUV(A), Planar RGB(A), and GRAY *some of which are not currently available pix_fmts here and were not added to the demuxer due to this Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * avisynth: Simplify the pix_fmt check for the newer AviSynth APIStephen Hutchinson2016-11-17
| | | | | | | | | | | | | | The values don't need to be hardcoded since the correct values are returned by avs_bits_per_pixel. Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * avisynth: Fix setting stream timebaseMarton Balint2016-11-17
| | | | | | | | | | | | | | | | | | Stream timebase should be set using avpriv_set_pts_info, otherwise avctx->pkt_timebase is not correct, leading to A/V desync. Signed-off-by: Marton Balint <cus@passwd.hu> Reviewed-by: Stephen Hutchinson <qyot27@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * mov: Fix identity matrix boolean logicVittorio Giovara2016-11-16
| | | | | | | | | | | | | | | | This prevented the code from correctly exporting the rotation matrix which caused a few samples to be displayed wrong. Introduced in ecd2ec69ce10e13f6ede353d2def7c. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '800d91d348c89fc8ca3fbec7696ab1ec8787acc6'James Almer2017-03-31
|\| | | | | | | | | | | | | * commit '800d91d348c89fc8ca3fbec7696ab1ec8787acc6': Drop pointless void* casts Merged-by: James Almer <jamrial@gmail.com>
| * Drop pointless void* castsDiego Biurrun2016-11-13
| |
| * nut: Use correct function pointer casts instead of void*Diego Biurrun2016-11-12
| | | | | | | | | | Fixes several warnings of the type libavformat/nut.c:207:42: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
| * matroskaenc: write updated STREAMINFO metadata for FLAC streams if availableJames Almer2016-11-10
| | | | | | | | | | | | | | | | | | | | FLAC streams originating from the FLAC encoder send updated and more complete STREAMINFO metadata as part of the last packet, so write that to CodecPrivate instead of the incomplete one available in extradata during init. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * matroskaenc: fix muxing AAC streams when using aac_adtstoasc bsfJames Almer2016-11-10
| | | | | | | | | | | | | | | | | | | | | | | | aac_adtstoasc makes the aac extradata available only after the first packet is filtered, and as packet side data. Assume extradata will be available as part of the first packet if avpriv_mpeg4audio_get_config() fails the first time due to missing extradata and reserve space for the OutputSampleRate element in the Tracks master. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avformat/dump: use av_spherical_projection_name() to print spherical ↵James Almer2017-03-31
| | | | | | | | | | | | | | projection names Reviewed-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | lavf/amr: Return AVERROR_EOF on EOF.Carl Eugen Hoyos2017-03-31
| | | | | | | | Fixes ticket #6280.
* | lavf/mov.c: Add -advanced_editlist option for mov format.Sasi Inguva2017-03-31
| | | | | | | | | | | | | | Adding an MOV format option to turn on/off the editlist supporting code, introduced in https://github.com/FFmpeg/FFmpeg/commit/ca6cae73db207f17a0d5507609de12842d8f0ca3 Signed-off-by: Sasi Inguva <isasi@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Bump minor versions for master after release/3.3 branchpointMichael Niedermayer2017-03-31
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Bump minor versions for staring release/3.3 branchMichael Niedermayer2017-03-31
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '67deba8a416d818f3d95aef0aa916589090396e2'Clément Bœsch2017-03-31
|\| | | | | | | | | | | | | * commit '67deba8a416d818f3d95aef0aa916589090396e2': Use avpriv_report_missing_feature() where appropriate Merged-by: Clément Bœsch <cboesch@gopro.com>
| * Use avpriv_report_missing_feature() where appropriateDiego Biurrun2016-11-08
| |
| * mov: Read multiple stsd from DVVittorio Giovara2016-11-08
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * hevc: Support extradata changes from multiple stsdVittorio Giovara2016-11-08
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | avformat/mov: Init ref_sc / ref_st to NULLMichael Niedermayer2017-03-30
| | | | | | | | | | | | | | | | | | This is more robust in case some change or corner case causes them to be dereferenced before being set Fixes CID1396274, CID1396275 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/libopenmpt: Check for avio_size() failureMichael Niedermayer2017-03-30
| | | | | | | | | | | | Fixes CID1396850 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>