summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457'Hendrik Leppkes2015-10-27
|\ | | | | | | | | | | | | * commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457': avpacket: Replace av_free_packet with av_packet_unref Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * avpacket: Replace av_free_packet with av_packet_unrefLuca Barbato2015-10-26
| | | | | | | | | | | | | | `av_packet_unref` matches the AVFrame ref-counted API and can be used as a drop in replacement. Deprecate `av_free_packet`.
* | Merge commit 'a5d42043093a39636a1f4021a37dd9c612479f6f'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit 'a5d42043093a39636a1f4021a37dd9c612479f6f': avformat: Always return ref-counted AVPacket Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * avformat: Always return ref-counted AVPacketLuca Barbato2015-10-26
| | | | | | | | And drop the av_dup_packet from the input_thread.
* | Merge commit 'f0ca6ffa0ae5d5564516ee7a18aa1e234751444a'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit 'f0ca6ffa0ae5d5564516ee7a18aa1e234751444a': avprobe: Unref the packet once it is used Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * avprobe: Unref the packet once it is usedLuca Barbato2015-10-26
| | | | | | | | | | | | Make sure it does not leak packets. CC: libav-stable@libav.org
* | Merge commit '9cbae3a7d57bd2b862c37fd8123bd1fba680e801'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit '9cbae3a7d57bd2b862c37fd8123bd1fba680e801': roqvideodec: use av_frame_copy Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * roqvideodec: use av_frame_copyHendrik Leppkes2015-10-26
| | | | | | | | | | CC: libav-stable@libav.org Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '9f5d6f460ceeda8b4ac29b3249a49e275b64c706'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit '9f5d6f460ceeda8b4ac29b3249a49e275b64c706': hap: Set avctx.bits_per_coded_sample Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * hap: Set avctx.bits_per_coded_sampleTom Butterworth2015-10-25
| | | | | | | | | | | | Fixes an issue where alpha is ignored in some players. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit 'fe66671bd5f446f8d0a9c70968ba8fe891efe028'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit 'fe66671bd5f446f8d0a9c70968ba8fe891efe028': cmdutils: Check for and report the correct codec capability Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * cmdutils: Check for and report the correct codec capabilityVittorio Giovara2015-10-25
| |
* | Merge commit '3c5cf2a31b4b29a8e4282cbe6a3f0617c14698b8'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit '3c5cf2a31b4b29a8e4282cbe6a3f0617c14698b8': screenpresso: Drop parameter change check Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * screenpresso: Drop parameter change checkVittorio Giovara2015-10-25
| | | | | | | | | | Size can never change, allowing us to use ff_reget_buffer, and to simplify the code a little.
* | Merge commit '447b5b278c689b21bbb7b5747c8773145cbd9448'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit '447b5b278c689b21bbb7b5747c8773145cbd9448': mpegvideo_enc: Fix encoding videos with less frames than the delay of the encoder Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * mpegvideo_enc: Fix encoding videos with less frames than the delay of the ↵Alexis Ballier2015-10-25
| | | | | | | | | | | | | | | | | | | | | | | | encoder When the encoder is fed with less frames than its delay, the picture list looks like { NULL, NULL, ..., frame, frame, frame }. When flushing the encoder (input frame == NULL), we need to ensure the picture list is shifted enough so that we do not return an empty packet, which would mean the encoder has finished, while it has not encoded any frame. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '27eeee76b2546fd313808997b3d07ba9cce94551'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit '27eeee76b2546fd313808997b3d07ba9cce94551': mpegvideo_enc: Merge ifs with identical conditions Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * mpegvideo_enc: Merge ifs with identical conditionsMichael Niedermayer2015-10-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'f0a88d4d2a74534460f4a8b79c448bd5890dbd41'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit 'f0a88d4d2a74534460f4a8b79c448bd5890dbd41': mpegvideo_enc: Factor new_picture unref out Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * mpegvideo_enc: Factor new_picture unref outMichael Niedermayer2015-10-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '533a6198505edd1379e1cd722852350ae4a85acc'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit '533a6198505edd1379e1cd722852350ae4a85acc': innoHeim/Rsupport Screen Capture Codec decoder Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * innoHeim/Rsupport Screen Capture Codec decoderVittorio Giovara2015-10-23
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '233d2fa0443197df12b4f7823d591dad964149b3'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit '233d2fa0443197df12b4f7823d591dad964149b3': kvazaar: Add libkvazaar HEVC encoder Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * kvazaar: Add libkvazaar HEVC encoderArttu Ylä-Outinen2015-10-23
| | | | | | | | | | Signed-off-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avformat/aiff: add ADP4 DVI ADPCM supportPaul B Mahol2015-10-27
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit '18f9308e6a96bbeb034ee5213a6d41e0b6c2ae74'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit '18f9308e6a96bbeb034ee5213a6d41e0b6c2ae74': mpjpeg: Cope with multipart lacking the initial CRLF Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * mpjpeg: Cope with multipart lacking the initial CRLFLuca Barbato2015-10-23
| | | | | | | | | | | | | | | | | | Some server in the wild do not put the boundary at a newline as rfc1347 7.2.1 states. Cope with that by reading a line and if it is not empty reading a second one. Reported-By: bitingsock
* | Merge commit '22f4d9c303ede1a240538fd105c97047db40dc86'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit '22f4d9c303ede1a240538fd105c97047db40dc86': img2enc: Make sure the images are atomically written Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * img2enc: Make sure the images are atomically writtenLuca Barbato2015-10-23
| | | | | | | | | | Users that want to generate a live-preview and serve it would otherwise get partial images.
* | Merge commit '1ec72c6c68dbc78bf4ebb6f06c13316dc488bdfa'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit '1ec72c6c68dbc78bf4ebb6f06c13316dc488bdfa': libx264: Make sure the extradata are padded Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * libx264: Make sure the extradata are paddedLuca Barbato2015-10-23
| |
* | Merge commit '5ea5a24eb70646a9061b85af407fcbb5dd4f89fd'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit '5ea5a24eb70646a9061b85af407fcbb5dd4f89fd': movenc: Honor flush requests with delay_moov, when some tracks lack samples Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * movenc: Honor flush requests with delay_moov, when some tracks lack samplesMartin Storsjö2015-10-23
| | | | | | | | | | | | | | | | This also makes sure that a fragmented file without the empty_moov flag (i.e. with a non-empty initial moov fragment) actually gets written, if some of the tracks turn out to not have any samples. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'e02dcdf6bb6835ef4b49986b85a67efcb3495a7f'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit 'e02dcdf6bb6835ef4b49986b85a67efcb3495a7f': rtsp: Allow $ as interleaved packet indicator before a complete response header Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * rtsp: Allow $ as interleaved packet indicator before a complete response headerMartin Storsjö2015-10-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some RTSP servers ("HiIpcam/V100R003 VodServer/1.0.0") respond to our keepalive GET_PARAMETER request by a truncated RTSP header (lacking the final empty line to indicate a complete response header). Prior to 764ec70149, this worked just fine since we reacted to the $ as interleaved packet indicator anywhere. Since $ is a valid character within the response header lines, 764ec70149 changed it to be ignored there. But to keep compatibility with such broken servers, we need to at least allow reacting to it at the start of lines. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'dca23ffbc7568c9af5c5fbaa86e6a0761ecae50c'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | | | | | | | * commit 'dca23ffbc7568c9af5c5fbaa86e6a0761ecae50c': lavc: Deprecate AVPicture structure and related functions Deprecation flag on AVPicture struct replaced by a comment, as it causes excess deprecation warnings for every include of avcodec.h Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * lavc: Deprecate AVPicture structure and related functionsVittorio Giovara2015-10-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This structure served as a bridge between data pointers and frames, but it suffers from several limitations: - it is not refcounted and data must be copied to every time - it cannot be expanded without ABI break due to being used on the stack - its functions are just wrappers to imgutils which add a layer of unneeded indirection, and maintenance burden - it allows hacks like embedding uncompressed data in packets - its use is often confusing to our users AVFrame provides a much better API, and, if a full blown frame is not needed, it is just as simple and more straightfoward to use data and linesize arrays directly. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | doc/filters.texi: ebur128 grammar fixKyle Swanson2015-10-27
| | | | | | | | | | Reviewed-by: Lou Logan <lou@lrcd.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fix: assigning instead of comparingAppChecker2015-10-27
| | | | | | | | | | Signed-off-by: AppChecker <support.appc@cnpo.ru> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: disallow hwaccel with frame threadsHendrik Leppkes2015-10-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HWAccels with frame threads are fundamentally flawed in avcodecs current design, and there are several known problems ranging from image corruption to driver crashes. These problems come down to two design problems in the interaction of threads and HWAccel decoding: (1) While avcodec prevents parallel decoding and as such simultaneous access to the hardware accelerator from the decoding threads, it cannot account for the user code and its access to the hardware surfaces and the hardware itself. This can result in image corruption or even driver crashes if the user code locks image surfaces while they are being used by the decoder threads as reference frames. The current HWAccel API does not offer any way to ensure exclusive access to the hardware or the surfaces if frame threading is used. (2) Initialization of the HWAccel with frame threads is non-trivial, and many decoders had and still have issues that cause excess calls to the get_format callback. This will potentially cause duplicate HWAccel initialization, which in extreme cases can even lead to driver crashes if the HWAccel is re-initialized while the user code is actively accessing the hardware surfaces associated with it, or lead to image corruption due to lost reference frames. While both of these issues are solvable, fixing (1) would at least require a huge API redesign which would move a lot of complexity into the user code. The only reason the combination of frame threads and HWAccel was considered useful is to allow a seamless fallback to multi-threaded software decoding if the HWAccel is not available, however the issues outlined above far outweigh this. The proper solution for a fallback is to re-open the AVCodecContext with threading enabled if the HWAccel failed, which is a practice commonly used by various user applications using avcodec today already. Reviewed-by: Gwenole Beauchesne <gb.devel@gmail.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Hendrik Leppkes <h.leppkes@gmail.com>
* | FATE: Increase FUZZ value on AAC LTP encoding testRostislav Pehlivanov2015-10-27
| | | | | | | | Clang prerelease on Darwin is making the test fail.
* | srtenc: ReindentTimothy Gu2015-10-26
| |
* | drawutils: ReindentTimothy Gu2015-10-26
| |
* | avfilter: ReindentTimothy Gu2015-10-26
| |
* | avcodec: srtdec: ReindentTimothy Gu2015-10-26
| |
* | x86/vf_w3fdif: use aligned loads in w3fdif_complex_highJames Almer2015-10-27
| | | | | | | | | | Found-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | FATE: Slightly increase thresholds on prediction AAC encoding testsRostislav Pehlivanov2015-10-27
| | | | | | | | They barely fail on some systems by being off by 0.81.
* | opusdec: Don't run vector_fmul_scalar on zero length arraysKieran Kunhya2015-10-27
| | | | | | | | | | | | | | Fixes crashes on fuzzed files Fixes Ticket4969 part2 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/opusdec: Fix extra samples read indexMichael Niedermayer2015-10-27
| | | | | | | | | | | | | | Fixes crash Fixes Ticket4969 part 1 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter: add vibrato filterKyle Swanson2015-10-26
| | | | | | | | Signed-off-by: Kyle Swanson <k@ylo.ph>