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
2017-04-23avcodec: do not use AVFrame accessorMuhammad Faiz
Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2017-04-23Merge commit '549d0bdca53af7a6e0c612ab4b03baecf3a5878f'James Almer
* commit '549d0bdca53af7a6e0c612ab4b03baecf3a5878f': decode: be more explicit about storing the last packet properties Also copy pkt->size in extract_packet_props(), as it's needed for AVFrame.pkt_size Merged-by: James Almer <jamrial@gmail.com>
2016-11-05avcodec/rawdec: check for side data before checking its sizeJames Almer
Fixes valgrind warnings about usage of uninitialized values. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-31avcodec/rawdec: Check side data size before useMichael Niedermayer
Fixes out of array read Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-19avcodec/rawdec: Fix bits_per_coded_sample checksMichael Niedermayer
Fixes assertion failure Fixes: 9eb9cf5b8c26dd0fa7107ed0348dcc1f/signal_sigabrt_7ffff6ae7c37_8926_4609a5c3f071d555d2d557625f9687b1.swf Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-13lavc/raw: Support QT b64a ARGB64 rawvideo.Carl Eugen Hoyos
Decoder based on a patch by v0lt, v0lt rambler ru Fixes ticket #5657.
2016-08-08avcodec/rawdec: Fix palette handling with changing palettesMichael Niedermayer
Fixes out of array access Fixes: poc.swf Found-by: 连一汉 <lianyihan@360.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-22lavc/rawdec: Align AV_PIX_FMT_RGB24 correctlyMats Peterson
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-21lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a paletteMats Peterson
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-16lavc/rawdec: Retrieve nut palette from packetsMats Peterson
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-13avcodec/rawdec: Print stride and packet size at debug levelMats Peterson
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-13avcodec/rawdec: Fix nut pal8 testMats Peterson
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-13avcodec/rawdec: Initialize default mono palette only for ↵Mats Peterson
bits_per_coded_sample == 1 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-05lavc/rawdec: Use 16-byte line alignment for B1W0 and B0W1 video in nutMats Peterson
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-31avcodec/rawdec: Switch to monowhite if there is no palette & bpp=1Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-25lavc/rawdec: Use 16-byte line alignment for AV_PIX_FMT_MONOWHITEMats Peterson
The line alignment for 1 bpp raw AV_PIX_FMT_MONOWHITE video (currently used for AVI) was previously 4 bytes, which generated alignment warning messages, not only for odd-width files. The alignment is now 16 bytes. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-25avcodec/rawdec: Check height and packet sizeMichael Niedermayer
Avoids potential division by 0 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-25lavc/rawdec: Use 16-byte line alignment for 1, 2, 4 and 8 bppMats Peterson
This patch aligns the lines of 1 bpp depth for QuickTime, and 2, 4 and 8 bpp depths for AVI and QuickTime, on 16-byte boundaries. At the same time, the packet row stride is properly catered for. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-25avcodec/rawdec: initialize palette for monoMats Peterson
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-18lavc/rawdec: Use AV_PIX_FMT_PAL8 for 1-bit raw QuickTime videoMats Peterson
Match the use of AV_PIX_FMT_PAL8 for 1-bit QuickTime Animation in lavc/qtrle. To reiterate, 1-bit video is not necessary black & white in QuickTime, merely bi-level. The two colors can be any color. The palette, either included in the sample description, or the default Macintosh palette (black & white for 1-bit video) will be set in lavf/qtpalette. See the QuickTime File Format Specification for details. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-12-20rawdec: only exempt BIT0 with need_copy from buffer sanity checkAndreas Cadhalpun
Otherwise the too small buffer is directly used in the frame, causing segmentation faults, when trying to use the frame. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-12-04avcodec: use AV_OPT_TYPE_BOOL in a bunch of placesClément Bœsch
2015-10-22Merge commit 'ef3a3519c10620c4206738595bf03fc0bed71802'Hendrik Leppkes
* commit 'ef3a3519c10620c4206738595bf03fc0bed71802': rawdec: Replace avpicture functions with imgutils Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-10-21rawdec: Replace avpicture functions with imgutilsLuca Barbato
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-07-27Merge commit 'def97856de6021965db86c25a732d78689bd6bb0'Michael Niedermayer
* commit 'def97856de6021965db86c25a732d78689bd6bb0': lavc: AV-prefix all codec capabilities Conflicts: cmdutils.c ffmpeg.c ffplay.c libavcodec/8svx.c libavcodec/aacenc.c libavcodec/ac3dec.c libavcodec/adpcm.c libavcodec/alac.c libavcodec/atrac3plusdec.c libavcodec/bink.c libavcodec/dnxhddec.c libavcodec/dvdec.c libavcodec/dvenc.c libavcodec/ffv1dec.c libavcodec/ffv1enc.c libavcodec/fic.c libavcodec/flacdec.c libavcodec/flacenc.c libavcodec/flvdec.c libavcodec/fraps.c libavcodec/frwu.c libavcodec/gifdec.c libavcodec/h261dec.c libavcodec/hevc.c libavcodec/iff.c libavcodec/imc.c libavcodec/libopenjpegdec.c libavcodec/libvo-aacenc.c libavcodec/libvorbisenc.c libavcodec/libvpxdec.c libavcodec/libvpxenc.c libavcodec/libx264.c libavcodec/mjpegbdec.c libavcodec/mjpegdec.c libavcodec/mpegaudiodec_float.c libavcodec/msmpeg4dec.c libavcodec/mxpegdec.c libavcodec/nvenc_h264.c libavcodec/nvenc_hevc.c libavcodec/pngdec.c libavcodec/qpeg.c libavcodec/ra288.c libavcodec/rv10.c libavcodec/s302m.c libavcodec/sp5xdec.c libavcodec/takdec.c libavcodec/tiff.c libavcodec/tta.c libavcodec/utils.c libavcodec/v210dec.c libavcodec/vp6.c libavcodec/vp9.c libavcodec/wavpack.c libavcodec/yop.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
2014-11-26avcodec/rawdec: Check the return code of avpicture_get_size()Michael Niedermayer
Fixes out of array access Fixes: asan_heap-oob_22388d0_3435_cov_3297128910_small_roll5_FlashCine1.cine Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-02avcodec/rawdec: Support CODEC_CAP_PARAM_CHANGEMichael Niedermayer
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-08-07libavcodec/rawdec: remove old ff_find_pix_fmt() functionJames Almer
It's been dead code for more than a year Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-23Merge commit 'c67b449bebbe0b35c73b203683e77a0a649bc765'Michael Niedermayer
* commit 'c67b449bebbe0b35c73b203683e77a0a649bc765': dsputil: Split bswap*_buf() off into a separate context Conflicts: configure libavcodec/4xm.c libavcodec/ac3dec.c libavcodec/ac3dec.h libavcodec/apedec.c libavcodec/eamad.c libavcodec/flacenc.c libavcodec/fraps.c libavcodec/huffyuv.c libavcodec/huffyuvdec.c libavcodec/motionpixels.c libavcodec/truemotion2.c libavcodec/x86/Makefile libavcodec/x86/dsputil_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-12Warn if rawvideo and an unreadable pix_fmt are written.Carl Eugen Hoyos
Print an error if a combination of rawvideo and an unusual pix_fmt that will be impossible to decode are written to avi or mov. Fixes ticket #3545.
2014-04-11Cosmetics: Remove an outdated comment from lavc/rawdec.c.Carl Eugen Hoyos
The missing swscale feature was implemented in 2011.
2014-04-09Merge commit 'b6a09ef700786b4e1e871dfa0f5c386ea43bbd0a'Michael Niedermayer
* commit 'b6a09ef700786b4e1e871dfa0f5c386ea43bbd0a': rawvideo: Support decoding YVYU422 FourCC See: ab7d6cb8f770c3b88a8139d1182fcc934062f891 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-03-24Merge commit '4a0f6651434c6f213d830140f575b4ec7858519f'Michael Niedermayer
* commit '4a0f6651434c6f213d830140f575b4ec7858519f': libavcodec: when decoding, copy replaygain side data to decoded frames Conflicts: libavcodec/internal.h libavcodec/rawdec.c libavcodec/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-03-24libavcodec: when decoding, copy replaygain side data to decoded framesAnton Khirnov
2014-03-23Move avpriv_find_pix_fmt() to utils.cMichael Niedermayer
Fixes build with --disable-everything Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-03-16avcodec/rawdec: decode 16-bit aligned and packed 'raw' pixel formats where ↵Peter Ross
bits_per_coded_sample < 16 The bit packing method is communicted via codec_tag: BIT[0] big-endian packing BIT[16] 16-bit little endian packing BIT[32] 32-bit little-endian packing Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-03-11Revert "Allow stream-copying grayscale mov files."Carl Eugen Hoyos
This reverts commit 691dec62011fe9993809fbc793126b40cac0c584. The commit did not fix ticket #3215, it was fixed one commit earlier. The revert may break other use-cases but they should be fixed differently, the offending commit introduced too many problems. Fixes ticket #3377. Fixes ticket #3378.
2014-02-26libavcodec/rawdec: avoid memcpy when performing 16-bit samples shiftPeter Ross
Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-02-23avcodec/rawdec: for 16-bit pix fmts, shift pixels when bits_per_coded_sample ↵Peter Ross
< 16 Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-25Allow stream-copying grayscale mov files.Carl Eugen Hoyos
This reverts 0de2157f / r12272. Fixes ticket #3215. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-11-04Merge commit 'da6506c607eda585ba4b15430cf3c9a2ce09c3a9'Michael Niedermayer
* commit 'da6506c607eda585ba4b15430cf3c9a2ce09c3a9': lavc: move AVCodecContext.pkt to AVCodecInternal Conflicts: libavcodec/internal.h libavcodec/rawdec.c libavcodec/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-11-04lavc: move AVCodecContext.pkt to AVCodecInternalAnton Khirnov
It's a private field, not meant to be accessed from outside lavc.
2013-10-04Merge commit 'b2bed9325dbd6be0da1d91ffed3f513c40274fd2'Michael Niedermayer
* commit 'b2bed9325dbd6be0da1d91ffed3f513c40274fd2': cosmetics: Group .name and .long_name together in codec/format declarations Conflicts: libavcodec/8svx.c libavcodec/alac.c libavcodec/cljr.c libavcodec/dnxhddec.c libavcodec/dnxhdenc.c libavcodec/dpxenc.c libavcodec/dvdec.c libavcodec/dvdsubdec.c libavcodec/dvdsubenc.c libavcodec/ffv1dec.c libavcodec/flacdec.c libavcodec/flvdec.c libavcodec/fraps.c libavcodec/frwu.c libavcodec/g726.c libavcodec/gif.c libavcodec/gifdec.c libavcodec/h261dec.c libavcodec/h263dec.c libavcodec/iff.c libavcodec/imc.c libavcodec/libopencore-amr.c libavcodec/libopenjpegdec.c libavcodec/libopenjpegenc.c libavcodec/libspeexenc.c libavcodec/libvo-amrwbenc.c libavcodec/libvorbisenc.c libavcodec/libvpxenc.c libavcodec/libx264.c libavcodec/libxavs.c libavcodec/libxvid.c libavcodec/ljpegenc.c libavcodec/mjpegbdec.c libavcodec/mjpegdec.c libavcodec/mpeg12dec.c libavcodec/mpeg4videodec.c libavcodec/msmpeg4dec.c libavcodec/pgssubdec.c libavcodec/pngdec.c libavcodec/pngenc.c libavcodec/proresdec_lgpl.c libavcodec/proresenc_kostya.c libavcodec/ra144enc.c libavcodec/rawdec.c libavcodec/rv10.c libavcodec/sp5xdec.c libavcodec/takdec.c libavcodec/tta.c libavcodec/v210dec.c libavcodec/vp6.c libavcodec/wavpack.c libavcodec/xbmenc.c libavcodec/yop.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-04cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun
2013-07-04avcodec/rawdec: Fix 2bpp and 4bpp rawvideo in movCarl Eugen Hoyos
Restores carefully the old behaviour (and does not break decoding avi samples). Fixes Ticket2536 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-30Rename "AVClass class" as "AVClass component_class".Carl Eugen Hoyos
The aix header math.h defines "extern int class()" for C.
2013-06-16rawdec: allocate a buffer in the appropriate size in the copy case.Hendrik Leppkes
Otherwise the created buffer can be smaller than buf_size, which results in buffer overreads if the original image has extra padding on every line. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-15Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_* Conflicts: doc/APIchanges libavcodec/avpicture.c libavcodec/ffv1dec.c libavcodec/ffv1enc.c libavcodec/imgconvert.c libavcodec/tiffenc.c libavfilter/vf_pixdesctest.c libavfilter/vf_scale.c libavutil/imgutils.c libavutil/pixdesc.c libavutil/version.h libswscale/swscale_internal.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-15pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*Anton Khirnov
2013-03-24rawdec: fix memleakMichael Niedermayer
Fixes fate-lavf-flm under valgrind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>