aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'c80344d0101558098a6cd2ed5082ff5fda7ca18b'Derek Buitenhuis2016-04-111-2/+1
|\ | | | | | | | | | | | | * commit 'c80344d0101558098a6cd2ed5082ff5fda7ca18b': mpegvideo_enc: use avcodec_free_context() instead of av_free() Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * mpegvideo_enc: use avcodec_free_context() instead of av_free()Anton Khirnov2016-02-261-2/+1
| |
* | Merge commit 'e66fa35392cd45d0a80774cd057fb765d60def43'Derek Buitenhuis2016-04-111-6/+19
|\| | | | | | | | | | | | | * commit 'e66fa35392cd45d0a80774cd057fb765d60def43': vc1dec: Check group allocations separatedly Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * vc1dec: Check group allocations separatedlyVittorio Giovara2016-02-251-6/+19
| | | | | | | | This avoids accessing NULL pointers in case of error.
| * vc1dec: Fix leak on error for array allocationsVittorio Giovara2016-02-251-2/+5
| | | | | | | | | | The deinit function in the 'error' section will correctly free everything.
* | Merge commit 'f91d94bdfc3f5f83ff0be4d19d10d0a35697386f'Derek Buitenhuis2016-04-111-11/+5
|\| | | | | | | | | | | | | * commit 'f91d94bdfc3f5f83ff0be4d19d10d0a35697386f': vc1dec: Properly call deinit function on error Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * vc1dec: Properly call deinit function on errorVittorio Giovara2016-02-251-11/+5
| |
* | Merge commit '35b1cd343cd703c1b0fc926dc43a92141a357380'Derek Buitenhuis2016-04-111-8/+0
|\| | | | | | | | | | | | | * commit '35b1cd343cd703c1b0fc926dc43a92141a357380': vc1dec: Drop commented out cruft Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * vc1dec: Drop commented out cruftVittorio Giovara2016-02-251-8/+0
| |
| * idct: Only build prores IDCT if ProRes decoder is enabledDiego Biurrun2016-02-241-0/+2
| |
* | Merge commit '3c53627ac17fc6bdea5029be57da1e03b32d265d'Derek Buitenhuis2016-04-111-6/+28
|\| | | | | | | | | | | | | * commit '3c53627ac17fc6bdea5029be57da1e03b32d265d': qsvdec: store the sync point in heap memory Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * qsvdec: store the sync point in heap memoryAnton Khirnov2016-02-241-6/+28
| | | | | | | | The reasoning is the same as for the corresponding qsvenc patch.
* | Merge commit 'a1335149fd610b16459d9281b611282cac51c950'Derek Buitenhuis2016-04-111-6/+16
|\| | | | | | | | | | | | | * commit 'a1335149fd610b16459d9281b611282cac51c950': qsvenc: store the sync point in heap memory Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * qsvenc: store the sync point in heap memoryMaxym Dmytrychenko2016-02-241-7/+18
| | | | | | | | | | | | | | | | The QSV runtime expects the sync point address passed to MFXVideoENCODE_EncodeFrameAsync() to be valid until MFXVideoCORE_SyncOperation(). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avcodec/shorten: properly handle bitshift > 31Paul B Mahol2016-04-111-3/+7
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/wmalosslessdec: do not discard last frameJakub Stachowski2016-04-101-2/+9
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/shorten: mark as AV_CODEC_CAP_SUBFRAMESPaul B Mahol2016-04-101-1/+1
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/exr: fix channel detectionMartin Vignali2016-04-101-8/+10
| |
* | avcodec/shorten: add support for AIFF packing, not bitexactPaul B Mahol2016-04-091-2/+74
| | | | | | | | | | | | Also report unsupported packing. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/shorten: fix decoding of very large (>2048) block sizesPaul B Mahol2016-04-091-0/+14
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/pngdec: Fix alpha detection with skip_frameMichael Niedermayer2016-04-091-0/+1
| | | | | | | | | | | | Fixes Ticket4816 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/shorten: fix decoding of files with number of samples lower than ↵Paul B Mahol2016-04-081-2/+4
| | | | | | | | | | | | | | | | | | max_frame_size Note that support of very big block sizes is not currently supported at all due too flawed logic in decoder. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/shorten: remove useless if condition and comment, reindentPaul B Mahol2016-04-081-23/+21
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/shorten: fix decoding of last framePaul B Mahol2016-04-081-3/+1
| | | | | | | | | | | | Previously it would be always discarded. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/pngenc: check return value of av_frame_copy()Paul B Mahol2016-04-081-2/+6
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/pngenc: restore image size before copying frameDmitriy2016-04-081-0/+4
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/shorten: if allocation fails reset max_frame_sizePaul B Mahol2016-04-081-0/+1
| | | | | | | | | | | | Otherwise crash happens. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec: remove "get_buffer() failed" messagePaul B Mahol2016-04-082-6/+2
| | | | | | | | | | | | It is already provided by ff_get_buffer(). Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat: support shorten in nistshpere demuxerPaul B Mahol2016-04-071-0/+4
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/exr: enable mipmap, ripmap decodingMartin Vignali2016-04-061-5/+7
| |
* | AAC encoder: fix valgrind errorsClaudio Freire2016-04-052-17/+16
| | | | | | | | | | | | Move wi.clipping computation outside of psy_lame_window, LFE channels don't even call that, and make the LFE path also initialize window_type[1] which is needed by analyze_channel
* | libxvid: Create extradata in init using a dummy frameDerek Buitenhuis2016-04-051-0/+40
| | | | | | | | | | | | | | | | | | | | | | Modifying global header extradata in encode_frame is an API violation and only happens to work currently because mov writes its header at the end of the file. Heavily based off of a patch from 2012. Original-by: Nicolas George <george@nsup.org> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | avcodec: add adpcm dat4 decoderPaul B Mahol2016-04-057-1/+28
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | AAC encoder: fix filling of wi.clipping arrayClaudio Freire2016-04-051-3/+4
| | | | | | | | | | | | | | Fill all windows in all window groups instead of only the first window of each group. Also avoid uninitialized access of window_type.
* | libavcodec/exr : add support for compression in tileMartin Vignali2016-04-041-22/+17
| |
* | libavcodec/exr : cosmetic changeMartin Vignali2016-04-041-2/+1
| |
* | AAC encoder: fix initialization of minsfClaudio Freire2016-04-031-3/+4
| | | | | | | | | | In some situations (exactly zeroed DC coeffs) minsf would be initialized with garbage
* | libavcodec/exr: add tile supportMartin Vignali2016-04-031-54/+210
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | libavcodec/exr: fix PRX24 Float decompressionMartin Vignali2016-04-031-3/+12
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/mjpegdec: Do not permute quantization tablesMichael Niedermayer2016-04-031-10/+9
| | | | | | | | | | | | This fixes issues if the permutation changes, as quantizations tables would need to be reread Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | exif: take a generic log contextHendrik Leppkes2016-04-022-9/+9
| | | | | | | | | | | | | | The AVCodecContext is only used for logging, so instead take any valid log context. This allows reusing the exif functions more easily in avformat. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | avcodec: properly initialize AVCodecParameters profile/levelHendrik Leppkes2016-04-021-0/+2
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | lavc/videotoolboxenc: Workaround encoder errorRick Kern2016-04-021-11/+32
| | | | | | | | | | | | | | | | CMVideoFormatDescriptionGetH264ParameterSetAtIndex() fails on some hardware/OS versions when retrieving the parameter set count alone. Signed-off-by: Rick Kern <kernrj@gmail.com> Signed-off-by: wm4 <nfxjfg@googlemail.com>
* | lavc/videotoolboxenc: Fix crash when closing codec after errorRick Kern2016-04-021-1/+0
| | | | | | | | | | | | | | | | | | | | Fixes crash in #5352. VTCompressionSessionInvalidate() crashes if the internal encoder hasn't completed, but hasn't experienced an error. The function call isn't needed since the encoder is invalidated when the reference count reaches 0 anyway. Signed-off-by: Rick Kern <kernrj@gmail.com> Signed-off-by: wm4 <nfxjfg@googlemail.com>
* | lavc/utils: use pkt_timebase for legacy subtitles timing codeClément Bœsch2016-04-021-2/+5
| | | | | | | | This is consistent with other AVSubtitle timing adjustments.
* | lavc/ccaption_dec: remove usage of avctx->time_baseClément Bœsch2016-04-021-7/+8
| | | | | | | | | | | | | | | | | | | | lavc/utils already rescales avpkt->pts to sub->pts in AV_TIME_BASE_Q before calling the decode callback. This prevents from rescaling again into the decoder, and avoid the use of avctx->time_base which will disappear in the incoming codecpar merge. This commit also replaces the use of "20 centisecond" (ass time base) with "200 ms".
* | lavc/audiotoolboxdec: add eac3 decoderRodger Combs2016-04-023-0/+9
| | | | | | | | | | | | | | | | This is added in 10.11, so we add a #define when building against older SDKs. The decoder actually supports 7.1-channel eac3, but since the parser only reports 6 channels, we end up decoding the 5.1 downmix (same as the internal decoder) for now.
* | lavc/audiotoolboxdec: fix a number of config and timestamp issuesRodger Combs2016-04-021-65/+221
| | | | | | | | | | | | | | | | - ADTS-formatted AAC didn't work - Channel layouts were never exported - Channel mappings were incorrect beyond stereo - Channel counts weren't updated after packets were decoded - Timestamps were exported incorrectly
* | lavc/audiotoolboxdec: support ADTS AAC inputRodger Combs2016-04-021-1/+34
| |
* | lavc/audiotoolboxenc: allow setting maxrate with pre-10.9 deployment targetsRodger Combs2016-04-021-1/+1
| | | | | | | | | | | | | | The build failure here is caused by the enum value not being defined, but as long as we're on a newer SDK that has it, it's safe to use it even when our deployment target is older. Setting the property will error, but we're not failing on errors there.