Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-13Update for 2.8.1n2.8.1Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-13swscale: fix ticket #4881Pedro Arthur
When scaling only a slice of a frame the output was written always in the first lines leaving the rest of the frame black. (cherry picked from commit 5bd62a1b3c3356b84818efca3fcaf52da27a32af)
2015-10-12doc: fix spelling errorsAndreas Cadhalpun
Reviewed-by: Lou Logan <lou@lrcd.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit 8d6625642db064a45224cb7a8e037f6e79a6554d) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-10-12hls: only seek if there is an offsetAndreas Cadhalpun
If there is no #EXT-X-BYTERANGE specified, there is no need to seek. Seeking fails anyway for rtmp, because this protocol does not support url_seek. This fixes CNN.m3u from trac ticket 4797 (i.e. Debian bug #798189). Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit f9f0b4c08e7dc2c178ede137af4f64ca84ab2deb) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-10-12asfdec: add more checks for size left in asf packet bufferAlexandra Hájková
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> (cherry picked from commit c0a49077ea4ff3a0ad30b9e33f1bb06ba9112aaa) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-10-12asfdec: alloc enough space for storing name in asf_read_metadata_objAlexandra Hájková
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> (cherry picked from commit 77cf23668991bfd1fb69339f13e1511b4186b7b3) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-10-12avcodec/pngdec: Check blend_op.Michael Niedermayer
Fixes CID1322359, CID1322358 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 1e7e4f13f95227d79bc8ab9a2167f02f7a3e063f) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-12h264_mp4toannexb: fix pps offfset fault when there are more than one sps in avcc赵宇龙
the pps offset is used to locate pps in the spspps_buf; however, the current calc method is wrong because it is the offset of the original avctx->extradata; when there is only one sps in the avcc; the value is correct by coincidence, however, it will fail in avcc with multi sps Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 6b32d0d86b6bec2b5cb565d6ab4556f8cd66214a) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-12avcodec/h264_mp4toannexb_bsf: Use av_freep() to free spspps_bufMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 3d126ef188639e0b55bdbbb755eafced66f23352) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-09avformat/avidec: Workaround broken initial frameMichael Niedermayer
Fixes Ticket4851 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 3e2ef00394b8079e93835d47c993868229f07502)
2015-10-09avformat/hls: fix some cases of HLS streams which require cookieswm4
Broken by commit ba12ba859aabfa7153ba397d869db13acdaba340. This only happens with HLS streams which use encryption and require preserving cookies sent by the server. Fixes trac issue #4846. (cherry picked from commit 26eb2940079d0ec433cf9b2deae24560707cbcf8)
2015-10-09avcodec/pngdec: reset has_trns after every decode_frame_png()Paul B Mahol
Fixes #4887. Signed-off-by: Paul B Mahol <onemda@gmail.com> (cherry picked from commit 1d0487f77f07663c510207eb6e946675b71823cb)
2015-10-09lavf/img2dec: Fix memory leakPrzemysław Sobala
Fixes #4886 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 01dd7e025c246d9001f1a30f4a5d8fa2936d1a5e)
2015-10-09avcodec/mp3: fix skipping zeroswm4
Commits 43bc5cf9 and c5371f77 add code for skipping initial zeros in mp3 packets. This code forgot to report to the user that data was skipped at all. Since audio codecs allow partial packet decoding, the user application has to rely on the return value. It will remove the data reported as consumed by the decoder, and feed it to the decoder again. This resulted in the mp3 frame after the zero region to be decoded over and over again, until the zero region was finally skipped by the application. Fix this by including the amount of skipped bytes to the number of consumed bytes returned by the decode call. Fixes trac ticket #4890. (cherry picked from commit cb1da9fb8d71bb611a7b0028914c97afc3f5711d)
2015-10-09avformat/srtdec: make sure we probe a numberClément Bœsch
Fixes regression since 7218352e0228028dfa009a3799ec93fd041065f1: WebVTT files were matching the SRT probing. (cherry picked from commit 40d9d6de90c3652f4c468ab14976c7faf5e40c07)
2015-10-08configure: check for ID3D11VideoContextJames Almer
Should fix compilation with mingw-w64 trunk, where ID3D11VideoDecoder is available but ID3D11VideoContext still isn't. Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit b8e4df46ab5a6b8333dbcd872e4f161fc9bba83a)
2015-10-08avformat/vobsub: compare correct packet stream IDswm4
The stream ID is essentially an arbitrary number defined by the .idx file headers. They have to match the IDs in the .sub stream. The vobsub demuxer assumed the IDs would just start from 0, increassing by 1 for each stream. This is not correct. In the sample I had, the IDs were starting from 1, leading to no subtitles being displayed at all. Fix this by using the correct stream ID. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit a47ad06baf6c0db6d47a5531d6d4ee0511f44eac) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08avformat/srtdec: more lenient first line probingClément Bœsch
Fixes Ticket #4898 (cherry picked from commit 7218352e0228028dfa009a3799ec93fd041065f1) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08avformat/srtdec: fix number check for the first characterClément Bœsch
(cherry picked from commit d161a2a72b083c51ec8fad33a29283703f5fd0cc) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08avcodec/mips: build fix for MSA 64bitShivraj Patil
Modified datatype of function argument (pitch from int32_t to ptrdiff_t). Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Commit in master: 322e960dbf32b846b26f95afa6c0e652bc04e90d Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08avcodec/mips: build fix for MSAShivraj Patil
Modified sps and pps access from old HEVCContext(s) structure to newly introduced HEVCParamSets(ps). Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Commit in master: b0732b0214a40cdbcaf49d72cc6f25a7e9e5f115 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08avformat/httpauth: Add space after commas in HTTP/RTSP auth headerAndrey Utkin
This fixes access to Grandstream cameras, which return 401 to ffmpeg otherwise. VLC sends Authorization: header with spaces between parameters, and it is known to work with Grandstream devices and broad range of other HTTP and RTSP servers, so author considers switching to such behaviour safe. Just for record - RFC 2617 (HTTP Auth) does not specify the need in spaces, so this is not a bug of FFmpeg. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit fdb32838723effb4560a345013387ea37b85ff20) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08libavformat/hlsenc: Use of uninitialized memory unlinking old filesDHE
Fixes ticket#4900 Signed-off-by: DHE <git@dehacked.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 76e3f8242d607ac0394b7894196f83f8d02ce5ca) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08avcodec/x86/sbrdsp: Fix using uninitialized upper 32bit of noiseMichael Niedermayer
Fixes crash Fixes: flicker-1.scout3d21443372922.28.m4a Found-by: Dale Curtis <dalecurtis@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 1b82b934a166e60f64e966eaa97512ba9dcb615b) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08avcodec/ffv1dec: Fix off by 1 error in quant_table_count checkMichael Niedermayer
Fixes: invalid_read.nut Found-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 2d221d9e069e6269cb41f3678f2734800171d87b) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08avcodec/ffv1dec: Explicitly check read_quant_table() return valueMichael Niedermayer
Forwards the error code, avoids potential integer overflow Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 10bbf6cf622f8a954c6cc694ca07c24f989c99af) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08dnxhddata: correct weight tablesJeremy James
CID 1260 (as evidenced by incorrect decoding of a sample from ticket 4876) seems to use incorrect weight tables. It appears those tables were not zigzag-scanned. Apply zigzag on weight tables for new CIDs 1258, 1259, and 1260, and fix an incorrect chroma table for CID 1256. Fixes last issue from ticket #4876. Found-by: Christophe Gisquet <christophe.gisquet@gmail.com> Signed-off-by: Christophe Gisquet <christophe.gisquet@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 428424fe75206753ab2039e624031c9643623ea0) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08dnxhddec: decode and use interlace mb flagChristophe Gisquet
This bit is 1 in some samples, and seems to coincide with interlaced mbs and CID1260. 2008 specs do not know about it, and maintain qscale is 11 bits. This looks oversized, but may help larger bitdepths. Currently, it leads to an obviously incorrect qscale value, meaning its syntax is shifted by 1. However, reading 11 bits also leads to obviously incorrect decoding: qscale seems to be 10 bits. However, as most profiles still have 11bits qscale, the feature is restricted to the CID1260 profile. The encoder writes 12 bits of syntax, last and first bits always 0, which is now somewhat inconsistent with the decoder, but ends up with the same effect (progressive + reserved bit). Partially fixes ticket #4876. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 2801a1352dc8682b028e53880f9847fcb2116947) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08swscale: fix ticket #4877Pedro Arthur
(cherry picked from commit a8602dde5e0a9858b9cee7e3788bef8efc43d950) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08avcodec/rangecoder: Check eMichael Niedermayer
Fixes hang.nut Found-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit b2955b6c5aed11026ec5c7164462899a10cdb937) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08avcodec/ffv1: seperate slice_count from max_slice_countMichael Niedermayer
Fix segfault with too large slice_count Fixes Ticket4879 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit aa6c43f3fdec8a7518534b9dab20c9eb4be11568) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08swscale: fix ticket 4850Pedro Arthur
(cherry picked from commit 77367f61b38dbdf17c31aa6a6b3edccb2ebf5354) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08cmdutils: Filter dst/srcw/hMichael Niedermayer
Dimensions / pixel formats for scaling must be set through the -s / pix_fmt options or the scale / format filters. Otherwise there are mismatches between whet is in/output to the scaler and for what the scaler is configured Fixes Ticket4856 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit a0af9fd95415293b965bb67e56a11f6429326db1) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08avutil/log: fix zero length gnu_printf format string warningGanesh Ajjanagadde
This should fix warning reported by fate client: http://fate.ffmpeg.org/report.cgi?time=20150917113121&slot=x86_32-linux-gnu-gcc-4.5.1-have_6regs. Untested. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 63cdb6e4a59e296e27a78ac08f15500b42cd27fc) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08lavf/webvttenc: Require webvtt file to contain exactly one WebVTT stream.Simon Thelen
Not requiring this can end up producing hilariously broken files together with -c:s copy (e.g. a webvtt file containing binary subtitle data). Signed-off-by: Simon Thelen <ffmpeg-dev@c-14.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit b84232694ef0c6897e82b52326c9ea4027c69ec4) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08swscale/swscale: Fix "unused variable" warningMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 0ae40c5a70490f102f7b1c62018746d3b424fa07) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08avcodec/mjpegdec: Fix decoding RGBA RCT LJPEGMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 055e56e9f76da3298f1b59bf5ea46f570e844600) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-08MAINTAINERS: add 2.8, drop 2.2Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-21doc: mention libavcodec can decode Opus nativelyJames Almer
Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit fd9ac48dc8aebcbd601af34336234d5102b36e21)
2015-09-20hevc: properly handle no_rasl_output_flag when removing pictures from the DPBHendrik Leppkes
Fixes ticket #4185. Reviewed-By: Mickael Raulet <Mickael.Raulet@insa-rennes.fr> Signed-off-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-16avfilter/af_ladspa: process all channels for nb_handles > 1Paul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com> (cherry picked from commit dc1050a3e8557fc423023036f698cc476fb675b4)
2015-09-09configure: add libsoxr to swresample's pkgconfigRicardo Constantino
Fixes linking in FFMS and f265 at least, when ffmpeg is compiled with libsoxr. Signed-off-by: Ricardo Constantino <wiiaboo@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 2641eeeefe93767e812d0acb9e3cb9bf157e6e95) Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2015-09-09lavc: Fix compilation with --disable-everything --enable-parser=mpeg4video.Hendrik Schreiber
(cherry picked from commit 9d742d23d28c11749f90128aee0522270fd93a81)
2015-09-09avcodec/h264_sei: Remove "Subtitles with data type 0x%02x" sample requestn2.8Michael Niedermayer
Suggested-by: Carl and Hendrik
2015-09-08RELEASE_NOTES based on 2.7Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-08avcodec: loongson delete invalid simple idct put and add optimization周晓勇
Change-Id: I23a36c65915f01a1cf20e317c14b8eaaa62958b4 Signed-off-by: ZhouXiaoyong <zhouxiaoyong@loongson.cn> Fixes Decoding of http://loongnix.org/ftp/multimedia/testing/nanocore_720p_24fps_mpeg4_ac3_short.avi Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit a78656a18784e0ef42350b7585f5d9ecf505eb9b) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-08Add NOA creditsMichael Niedermayer
2015-09-07vaapi: fix local header include.Gwenole Beauchesne
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> (cherry picked from commit aea611dc3e9e8e40c43b2b89f1af957c383cb0f3)
2015-09-06Changelog: Add 2.8Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-06set version to 2.8Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>