ffmpeg.git
3 years agoavformat/avienc: Rename reshuffles return variable to ensure it is not mixed up
Michael Niedermayer [Sat, 21 May 2016 23:50:08 +0000 (01:50 +0200)]
avformat/avienc: Rename reshuffles return variable to ensure it is not mixed up

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavfilter/af_loudnorm: fix crash when ebur128 initialization was not successfull/complete
Paul B Mahol [Sat, 21 May 2016 17:22:00 +0000 (19:22 +0200)]
avfilter/af_loudnorm: fix crash when ebur128 initialization was not successfull/complete

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavformat: add MTAF demuxer
Paul B Mahol [Sun, 15 May 2016 18:35:14 +0000 (20:35 +0200)]
avformat: add MTAF demuxer

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavcodec: add adpcm MTAF decoder
Paul B Mahol [Sun, 15 May 2016 18:45:04 +0000 (20:45 +0200)]
avcodec: add adpcm MTAF decoder

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavfilter/avf_ahistogram: raise minimum acmax to 1
Michael Niedermayer [Fri, 20 May 2016 15:55:11 +0000 (17:55 +0200)]
avfilter/avf_ahistogram: raise minimum acmax to 1

If acmax can be 0 then it could result in a division by 0
Fixes CID1351345

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavcodec/aic: add frame threading support
Paul B Mahol [Fri, 20 May 2016 18:54:10 +0000 (20:54 +0200)]
avcodec/aic: add frame threading support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavcodec/mips: loongson optimize h264pred with mmi v3
Zhou Xiaoyong [Tue, 17 May 2016 11:12:54 +0000 (19:12 +0800)]
avcodec/mips: loongson optimize h264pred with mmi v3

1. no longer use the register names directly and optimized code format
2. to be compatible with O32, specify type of address variable with mips_reg and handle the address variable with PTR_ operator
3. ff_pred16x16_plane_ functions only support N64 ABI now

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavcodec/mips: loongson optimize hpeldsp with mmi v1
Zhou Xiaoyong [Tue, 17 May 2016 06:51:50 +0000 (14:51 +0800)]
avcodec/mips: loongson optimize hpeldsp with mmi v1

1.the codes are compatible with O32 ABI
2.use uld and mtc1 to workaround cpu 3A2000 gslwlc1 bug (gslwlc1 instruction extension bug in O32 ABI)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavcodec/mips/mpegvideo_mmi: Version 2 of the optimizations for loongson mmi
Zhou Xiaoyong [Tue, 17 May 2016 05:08:38 +0000 (13:08 +0800)]
avcodec/mips/mpegvideo_mmi: Version 2 of the optimizations for loongson mmi

1. no longer use the register names directly and optimized code format
2. to be compatible with O32, specify type of address variable with mips_reg and handle the address variable with PTR_ operator

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavcodec/sgirledec: simplify, no need to use reget buffer
Paul B Mahol [Fri, 20 May 2016 19:30:29 +0000 (21:30 +0200)]
avcodec/sgirledec: simplify, no need to use reget buffer

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavcodec/mips/h264chroma_mmi: Version 2 of the optimizations for loongson mmi
ZhouXiaoyong [Tue, 17 May 2016 05:02:41 +0000 (13:02 +0800)]
avcodec/mips/h264chroma_mmi: Version 2 of the optimizations for loongson mmi

1. no longer use the register names directly and optimized code format
2. to be compatible with O32, specify type of address variable with mips_reg and handle the address variable with PTR_ operator
3. use uld and mtc1 to workaround cpu 3A2000 gslwlc1 bug (gslwlc1 instruction extension bug in O32 ABI)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavcodec/dca: use LUT for LBR frequency ranges
foo86 [Fri, 13 May 2016 09:48:27 +0000 (12:48 +0300)]
avcodec/dca: use LUT for LBR frequency ranges

Values for unsupported frequencies > 48000 Hz are still included (parser
will make use of them).

Also convert sampling frequencies array to unsigned.

Signed-off-by: James Almer <jamrial@gmail.com>
3 years agoavcodec/dca: simplify 'residual ok' flag tracking
foo86 [Fri, 13 May 2016 09:48:24 +0000 (12:48 +0300)]
avcodec/dca: simplify 'residual ok' flag tracking

Move this from separate structure field to a packet flag.

Behavior should be equivalent, except that residual flag is now properly
cleared when packet has no core frame at all.

Also print a message when forcing recovery mode due to invalid residual
to make debugging easier.

Signed-off-by: James Almer <jamrial@gmail.com>
3 years agoavcodec/dca_parser: improve frame end search
foo86 [Fri, 13 May 2016 09:48:28 +0000 (12:48 +0300)]
avcodec/dca_parser: improve frame end search

Parse core frame size directly when searching for frame end instead of
using value extracted from previous frame.

Account for unused bits when calculating sync word distance for 14-bit
streams to avoid alias sync detection.

Parse EXSS frame size and skip over EXSS frame to avoid alias sync
detection.

Signed-off-by: James Almer <jamrial@gmail.com>
3 years agoavcodec/dca: don't set initial sample_fmt
foo86 [Fri, 13 May 2016 09:48:26 +0000 (12:48 +0300)]
avcodec/dca: don't set initial sample_fmt

Valid sample_fmt will be set by dcadec_decode_frame() based on stream type.

Signed-off-by: James Almer <jamrial@gmail.com>
3 years agoavcodec/dca: remove useless debug message
foo86 [Fri, 13 May 2016 09:48:32 +0000 (12:48 +0300)]
avcodec/dca: remove useless debug message

Most DTS-in-WAV streams trigger this, making debug output hard to read.

Signed-off-by: James Almer <jamrial@gmail.com>
3 years agoavutil/eval-test: Check av_expr_parse_and_eval() for failure and also check it in...
Michael Niedermayer [Fri, 20 May 2016 16:00:35 +0000 (18:00 +0200)]
avutil/eval-test: Check av_expr_parse_and_eval() for failure and also check it in the fate test

Fixes CID1361940

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavcodec/dca: remove Rice code length limit
foo86 [Fri, 13 May 2016 09:48:23 +0000 (12:48 +0300)]
avcodec/dca: remove Rice code length limit

Signed-off-by: James Almer <jamrial@gmail.com>
3 years agodoc/filters: fix order of tinterlace filter drop modes
Paul B Mahol [Fri, 20 May 2016 07:50:00 +0000 (09:50 +0200)]
doc/filters: fix order of tinterlace filter drop modes

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavcodec/utils: Move avctx->codec check before its use
Michael Niedermayer [Fri, 20 May 2016 02:18:20 +0000 (04:18 +0200)]
avcodec/utils: Move avctx->codec check before its use

Fixes CID1361954

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavcodec/adpcm: pick correct step_index for IMA AMV
Paul B Mahol [Thu, 19 May 2016 14:40:07 +0000 (16:40 +0200)]
avcodec/adpcm: pick correct step_index for IMA AMV

Fixes #5538

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavcodec/options-test: Check avcodec_open2() return value
Michael Niedermayer [Thu, 19 May 2016 16:49:24 +0000 (18:49 +0200)]
avcodec/options-test: Check avcodec_open2() return value

Fixes: CID1361937

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agolavf/mpegts: add ID3 entry to the REGD_types array
Stefano Sabatini [Thu, 7 Apr 2016 18:40:52 +0000 (20:40 +0200)]
lavf/mpegts: add ID3 entry to the REGD_types array

This allows to recognize ID3 packets from their corresponding descriptor
tag.

3 years agolavf/mpegtsenc: set metadata stream type and write descriptor for ID3 packets
Stefano Sabatini [Sat, 26 Mar 2016 11:02:49 +0000 (12:02 +0100)]
lavf/mpegtsenc: set metadata stream type and write descriptor for ID3 packets

This allow to remux data packets which are then recognized as ID3 packets.

3 years agoavcodec/diracdec: Fix potential integer overflow
Michael Niedermayer [Thu, 19 May 2016 16:02:53 +0000 (18:02 +0200)]
avcodec/diracdec: Fix potential integer overflow

Fixes CID1361948

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavformat/iff: parse DPAN chunk
Paul B Mahol [Thu, 19 May 2016 10:42:41 +0000 (12:42 +0200)]
avformat/iff: parse DPAN chunk

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavcodec/iff: add support for ANBR files
Paul B Mahol [Wed, 18 May 2016 19:52:26 +0000 (21:52 +0200)]
avcodec/iff: add support for ANBR files

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavformat/dtshddec: move data_start outside of DTSHDDemuxContext
James Almer [Thu, 19 May 2016 03:02:50 +0000 (00:02 -0300)]
avformat/dtshddec: move data_start outside of DTSHDDemuxContext

It's only used in dtshd_read_header()

Signed-off-by: James Almer <jamrial@gmail.com>
3 years agoavcodec/exr: Fix potential integer overflow
Michael Niedermayer [Thu, 19 May 2016 01:15:41 +0000 (03:15 +0200)]
avcodec/exr: Fix potential integer overflow

Fixes CID1361949

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavcodec/h264: Check init_get_bits8() for failure
Michael Niedermayer [Wed, 18 May 2016 22:19:52 +0000 (00:19 +0200)]
avcodec/h264: Check init_get_bits8() for failure

Fixes CID1361935

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoffmpeg_filter: Fix AVBufferSrcParameters leak
Michael Niedermayer [Wed, 18 May 2016 22:10:27 +0000 (00:10 +0200)]
ffmpeg_filter: Fix AVBufferSrcParameters leak

Fixed: CID1361950

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavformat/avidec: Detect index with too short entries
Michael Niedermayer [Wed, 18 May 2016 21:27:54 +0000 (23:27 +0200)]
avformat/avidec: Detect index with too short entries

Fixes Ticket5498

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavcodec/m101: Ask for samples with too small extradata_size
Michael Niedermayer [Wed, 18 May 2016 21:27:20 +0000 (23:27 +0200)]
avcodec/m101: Ask for samples with too small extradata_size

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavfilter: add loudnorm
Kyle Swanson [Wed, 11 May 2016 18:30:14 +0000 (13:30 -0500)]
avfilter: add loudnorm

Signed-off-by: Kyle Swanson <k@ylo.ph>
3 years agoavcodec/m101: Check BPS value
Michael Niedermayer [Wed, 18 May 2016 15:11:20 +0000 (17:11 +0200)]
avcodec/m101: Check BPS value

Fixes null pointer dereference
Fixes Ticket5520

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavcodec/iff: add forgotten checks for end of input buffer
Paul B Mahol [Wed, 18 May 2016 10:46:43 +0000 (12:46 +0200)]
avcodec/iff: add forgotten checks for end of input buffer

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavcodec/iff: scala anim32 & anim16 decompression
Paul B Mahol [Tue, 17 May 2016 22:21:29 +0000 (00:21 +0200)]
avcodec/iff: scala anim32 & anim16 decompression

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavformat/avio: Fix null pointer dereference in case of memleak
Michael Niedermayer [Tue, 17 May 2016 22:53:21 +0000 (00:53 +0200)]
avformat/avio: Fix null pointer dereference in case of memleak

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavformat/avio: fix memory leak in url_find_protocol
Yong Lei [Tue, 17 May 2016 20:21:45 +0000 (13:21 -0700)]
avformat/avio: fix memory leak in url_find_protocol

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavformat/utils: Check negative bps before shifting in ff_get_pcm_codec_id()
Chris Cunningham [Tue, 17 May 2016 18:28:32 +0000 (11:28 -0700)]
avformat/utils: Check negative bps before shifting in ff_get_pcm_codec_id()

Fixes: undefined shift.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoMerge commit '71d3305c2711d4f6ec8b92db09ff64cf4e19a58e'
Derek Buitenhuis [Tue, 17 May 2016 14:18:43 +0000 (15:18 +0100)]
Merge commit '71d3305c2711d4f6ec8b92db09ff64cf4e19a58e'

* commit '71d3305c2711d4f6ec8b92db09ff64cf4e19a58e':
  h264_parse: make sure the ref count is zeroed on all failure paths

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
3 years agoMerge commit 'a6e27f7add2698fdd89911632b570c3d0c3f2aaa'
Derek Buitenhuis [Tue, 17 May 2016 14:16:38 +0000 (15:16 +0100)]
Merge commit 'a6e27f7add2698fdd89911632b570c3d0c3f2aaa'

* commit 'a6e27f7add2698fdd89911632b570c3d0c3f2aaa':
  h264: factor out parsing the reference count into a separate file

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
3 years agoMerge commit '56b17a33f231859cbccbd741b4763617cb4ecf03'
Derek Buitenhuis [Tue, 17 May 2016 13:55:36 +0000 (14:55 +0100)]
Merge commit '56b17a33f231859cbccbd741b4763617cb4ecf03'

* commit '56b17a33f231859cbccbd741b4763617cb4ecf03':
  h264: stop testing whether the reference count changes in ff_set_ref_count()

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
3 years agoMerge commit 'e9f884416c76558098fc1f63825b293956e8483c'
Derek Buitenhuis [Tue, 17 May 2016 13:38:08 +0000 (14:38 +0100)]
Merge commit 'e9f884416c76558098fc1f63825b293956e8483c'

* commit 'e9f884416c76558098fc1f63825b293956e8483c':
  h264: move reading direct_spatial_mv_pred out of ff_set_ref_count()

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
3 years agoMerge commit '8d0cc8ca97678f4ca87948ebabcbaab5a4f4c1f6'
Hendrik Leppkes [Tue, 17 May 2016 12:21:12 +0000 (14:21 +0200)]
Merge commit '8d0cc8ca97678f4ca87948ebabcbaab5a4f4c1f6'

* commit '8d0cc8ca97678f4ca87948ebabcbaab5a4f4c1f6':
  h264_parser: switch to h2645_parse for NAL unescaping

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
3 years agoh2645_parse: support badly muxed mp4 streams
Hendrik Leppkes [Thu, 12 May 2016 10:07:40 +0000 (12:07 +0200)]
h2645_parse: support badly muxed mp4 streams

Some streams contain an additional AnnexB NAL inside the mp4/nalff NALU.
This commonly occurs in interlaced streams where both fields are packed
into the same MP4 NAL with an AnnexB startcode in between.

Port handling of this format from the previous h264 nal handling.

Fixes trac #5529

3 years agoavcodec/iff: fix artifacts with uncompressed ham ANIMs
Paul B Mahol [Tue, 17 May 2016 09:01:02 +0000 (11:01 +0200)]
avcodec/iff: fix artifacts with uncompressed ham ANIMs

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavcodec/mips/h264dsp_mmi: Version 2 of the optimizations for loongson mmi
ZhouXiaoyong [Fri, 13 May 2016 10:03:27 +0000 (18:03 +0800)]
avcodec/mips/h264dsp_mmi: Version 2 of the optimizations for loongson mmi

1. no longer use the register names directly and optimized code format
2. to be compatible with O32, specify type of address variable with mips_reg and handle the address variable with PTR_ operator
3. optimize some unaligned loads and stores
4. use uld and mtc1 to workaround cpu 3A2000 gslwlc1 bug (gslwlc1 instruction extension bug in O32 ABI)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavformat/dtshddec: implement AUPR_HDR chunk parsing
James Almer [Mon, 16 May 2016 18:45:22 +0000 (15:45 -0300)]
avformat/dtshddec: implement AUPR_HDR chunk parsing

Use it to get stream duration, sample rate, channel count and initial padding

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years agoavformat/dtshddec: parse chunks stored after audio data
James Almer [Mon, 16 May 2016 05:13:46 +0000 (02:13 -0300)]
avformat/dtshddec: parse chunks stored after audio data

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
3 years agoavcodec/iff: add support for ANIMs with keyframes and concatenated ANIMs
Paul B Mahol [Mon, 16 May 2016 20:39:03 +0000 (22:39 +0200)]
avcodec/iff: add support for ANIMs with keyframes and concatenated ANIMs

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavcodec/iff: check if there is enough bytes left
Paul B Mahol [Mon, 16 May 2016 13:37:24 +0000 (15:37 +0200)]
avcodec/iff: check if there is enough bytes left

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavformat/utils: Do not compute the bitrate from duration == 0
Michael Niedermayer [Mon, 16 May 2016 11:43:02 +0000 (13:43 +0200)]
avformat/utils: Do not compute the bitrate from duration == 0

Fixes division by 0 in fate-acodec-ra144

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoffmpeg: Check that r_frame_rate is set before attempting to use it
Michael Niedermayer [Mon, 16 May 2016 10:49:06 +0000 (12:49 +0200)]
ffmpeg: Check that r_frame_rate is set before attempting to use it

Avoids unexpected occurance and dependency on NaN behavior and divisions by 0

Testcase: fate-lavf-fate-avi_cram

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoswresample/resample: Fix division by 0 with tap_count=1
Michael Niedermayer [Mon, 16 May 2016 03:10:21 +0000 (05:10 +0200)]
swresample/resample: Fix division by 0 with tap_count=1

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoswresample/rematrix: Use clipping s16 rematrixing if overflows are possible
Michael Niedermayer [Sun, 15 May 2016 19:34:37 +0000 (21:34 +0200)]
swresample/rematrix: Use clipping s16 rematrixing if overflows are possible

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavformat/adxdec: set bit_rate, fixes duration calculation
Paul B Mahol [Sun, 15 May 2016 17:02:12 +0000 (19:02 +0200)]
avformat/adxdec: set bit_rate, fixes duration calculation

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoswresample/rematrix: Use error diffusion to avoid error in the DC component of the...
Michael Niedermayer [Sun, 15 May 2016 16:33:09 +0000 (18:33 +0200)]
swresample/rematrix: Use error diffusion to avoid error in the DC component of the matrix

This fixes the sum of the integer coefficients ending up summing to a value
larger than the value representing unity.

This issue occurs with qN0.dts when converting to stereo

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavcodec/dsd: Fix "warning: ctables defined but not used [-Wunused-variable]"
Michael Niedermayer [Sun, 15 May 2016 12:34:44 +0000 (14:34 +0200)]
avcodec/dsd: Fix "warning: ctables defined but not used [-Wunused-variable]"

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavcodec/iff: rewrite out of bounds checking in writer
Paul B Mahol [Sun, 15 May 2016 14:33:33 +0000 (16:33 +0200)]
avcodec/iff: rewrite out of bounds checking in writer

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavcodec/dstdec: Fix "warning: initialization from incompatible pointer type [enabled...
Michael Niedermayer [Sun, 15 May 2016 02:28:31 +0000 (04:28 +0200)]
avcodec/dstdec: Fix "warning: initialization from incompatible pointer type [enabled by default]"

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agodoc/general: update supported DCA extensions
James Almer [Sun, 15 May 2016 02:00:12 +0000 (23:00 -0300)]
doc/general: update supported DCA extensions

3 years agohevc: Fix memory leak related to a53_caption data
Will Kelleher [Thu, 7 Apr 2016 13:58:31 +0000 (08:58 -0500)]
hevc: Fix memory leak related to a53_caption data

Signed-off-by: Will Kelleher <wkelleher@gogoair.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agodoc/general: mention DST decoder
Paul B Mahol [Sat, 14 May 2016 23:25:12 +0000 (01:25 +0200)]
doc/general: mention DST decoder

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agodoc/general: mention WSD demuxer
Paul B Mahol [Sat, 14 May 2016 23:22:36 +0000 (01:22 +0200)]
doc/general: mention WSD demuxer

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavcodec/escape124: change transitions table type to int8_t
Paul B Mahol [Sat, 14 May 2016 23:17:02 +0000 (01:17 +0200)]
avcodec/escape124: change transitions table type to int8_t

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavcodec: bump minor and update Changelog for recent DST addition
Paul B Mahol [Sat, 14 May 2016 23:19:12 +0000 (01:19 +0200)]
avcodec: bump minor and update Changelog for recent DST addition

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavcodec: add Direct Stream Transfer (DST) decoder
Peter Ross [Thu, 5 May 2016 19:21:27 +0000 (21:21 +0200)]
avcodec: add Direct Stream Transfer (DST) decoder

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavcodec/dca: print error message when no frame is found in packet
foo86 [Fri, 13 May 2016 09:48:25 +0000 (12:48 +0300)]
avcodec/dca: print error message when no frame is found in packet

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavcodec/iff: check for end of buffer in input for delta_l decompression
Paul B Mahol [Sat, 14 May 2016 12:29:59 +0000 (14:29 +0200)]
avcodec/iff: check for end of buffer in input for delta_l decompression

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavutil/mips: header asmdefs.h add some PTR_ macros for loongson
ZhouXiaoyong [Fri, 13 May 2016 10:02:28 +0000 (18:02 +0800)]
avutil/mips: header asmdefs.h add some PTR_ macros for loongson

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavutil/lzo: split test out into a separate file
James Almer [Sat, 14 May 2016 01:48:56 +0000 (22:48 -0300)]
avutil/lzo: split test out into a separate file

Signed-off-by: James Almer <jamrial@gmail.com>
3 years agoavcodec/iff: implement 3rd delta ANIM decompression
Paul B Mahol [Thu, 12 May 2016 21:54:26 +0000 (23:54 +0200)]
avcodec/iff: implement 3rd delta ANIM decompression

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavformat/Makefile: fix avlanguage dependencies
James Almer [Fri, 13 May 2016 20:19:56 +0000 (17:19 -0300)]
avformat/Makefile: fix avlanguage dependencies

Signed-off-by: James Almer <jamrial@gmail.com>
3 years agoavutil/sha512-test: fix memleak
James Almer [Fri, 13 May 2016 19:53:44 +0000 (16:53 -0300)]
avutil/sha512-test: fix memleak

Signed-off-by: James Almer <jamrial@gmail.com>
3 years agoavutil/sha-test: fix memleak
James Almer [Fri, 13 May 2016 19:53:26 +0000 (16:53 -0300)]
avutil/sha-test: fix memleak

Signed-off-by: James Almer <jamrial@gmail.com>
3 years agoavutil/ripemd-test: fix memleak
James Almer [Fri, 13 May 2016 19:53:18 +0000 (16:53 -0300)]
avutil/ripemd-test: fix memleak

Signed-off-by: James Almer <jamrial@gmail.com>
3 years agoavutil/aes-test: fix memleak
James Almer [Fri, 13 May 2016 19:53:08 +0000 (16:53 -0300)]
avutil/aes-test: fix memleak

Signed-off-by: James Almer <jamrial@gmail.com>
3 years agoswresample/arm: add ff_resample_common_apply_filter_{x4,x8}_{float,s16}_neon
Matthieu Bouron [Sun, 8 May 2016 18:56:03 +0000 (18:56 +0000)]
swresample/arm: add ff_resample_common_apply_filter_{x4,x8}_{float,s16}_neon

3 years agoavcodec/iff: change delta l offset to uint32_t
Paul B Mahol [Fri, 13 May 2016 12:01:12 +0000 (14:01 +0200)]
avcodec/iff: change delta l offset to uint32_t

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoavcodec/avpacket: Respect payload offset in av_packet_ref
Andriy Lysnevych [Thu, 12 May 2016 14:47:09 +0000 (17:47 +0300)]
avcodec/avpacket: Respect payload offset in av_packet_ref

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavformat/dump.c: fix mixed log levels
Tobias Rapp [Thu, 12 May 2016 08:26:03 +0000 (10:26 +0200)]
avformat/dump.c: fix mixed log levels

Previously a partial log message without newline was printed in case of
loglevel=warning.

Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agolavc: add IFF ANIM decoder
Paul B Mahol [Tue, 10 May 2016 21:48:50 +0000 (23:48 +0200)]
lavc: add IFF ANIM decoder

Signed-off-by: Paul B Mahol <onemda@gmail.com>
3 years agoMerge commit 'f3ed484953b81856e40239d2410058a96188b2be'
Derek Buitenhuis [Thu, 12 May 2016 13:33:57 +0000 (14:33 +0100)]
Merge commit 'f3ed484953b81856e40239d2410058a96188b2be'

* commit 'f3ed484953b81856e40239d2410058a96188b2be':
  h264_mp4toannexb_bsf: do not fail on annex B extradata

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
3 years agoape: Unbreak adaptcoeffs computation
Luca Barbato [Thu, 21 Apr 2016 14:09:38 +0000 (16:09 +0200)]
ape: Unbreak adaptcoeffs computation

And simplify and explain the expression.

Fault introduced in f3fdef108eb06b1e71b29152bf6822519e787efe

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
3 years agoMerge commit '5fca95c8e515a5ae542d9626ec088bdfc658450e'
Derek Buitenhuis [Thu, 12 May 2016 13:29:28 +0000 (14:29 +0100)]
Merge commit '5fca95c8e515a5ae542d9626ec088bdfc658450e'

* commit '5fca95c8e515a5ae542d9626ec088bdfc658450e':
  libx264: Forbid inverted Stereo3D mode

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
3 years agoMerge commit '9e2af0e9071a1229cfe21efff394691d91f979b2'
Derek Buitenhuis [Thu, 12 May 2016 13:29:04 +0000 (14:29 +0100)]
Merge commit '9e2af0e9071a1229cfe21efff394691d91f979b2'

* commit '9e2af0e9071a1229cfe21efff394691d91f979b2':
  libx264: Allow Stereo3D monoscopic value

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
3 years agoMerge commit 'a08b5d7b5725932f4ad39e95c5d6589392dee2c6'
Derek Buitenhuis [Thu, 12 May 2016 13:28:17 +0000 (14:28 +0100)]
Merge commit 'a08b5d7b5725932f4ad39e95c5d6589392dee2c6'

* commit 'a08b5d7b5725932f4ad39e95c5d6589392dee2c6':
  build: Silence the lcov-reset target

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
3 years agoMerge commit '75b90ef722b7cdfc70118ab987e298d087aae693'
Derek Buitenhuis [Thu, 12 May 2016 13:27:49 +0000 (14:27 +0100)]
Merge commit '75b90ef722b7cdfc70118ab987e298d087aae693'

* commit '75b90ef722b7cdfc70118ab987e298d087aae693':
  libavformat: Update the comment about AVOutputFormat flags

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
3 years agoMerge commit '74383def8f46805faf3391c98516b248108a9a6b'
Derek Buitenhuis [Thu, 12 May 2016 13:27:30 +0000 (14:27 +0100)]
Merge commit '74383def8f46805faf3391c98516b248108a9a6b'

* commit '74383def8f46805faf3391c98516b248108a9a6b':
  movenc: Handle pts == NOPTS when autoflushing

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
3 years agoMerge commit '0abb07bad7026a945a31ba4047e6583c8b3fa3da'
Derek Buitenhuis [Thu, 12 May 2016 13:26:55 +0000 (14:26 +0100)]
Merge commit '0abb07bad7026a945a31ba4047e6583c8b3fa3da'

* commit '0abb07bad7026a945a31ba4047e6583c8b3fa3da':
  movenc: Update a comment to reflect how the code actually behaves

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
3 years agoMerge commit '79fdbfdb3e50f3f906903e027714ee04c1a00e89'
Derek Buitenhuis [Thu, 12 May 2016 13:25:04 +0000 (14:25 +0100)]
Merge commit '79fdbfdb3e50f3f906903e027714ee04c1a00e89'

This commit is purposely skipped because it doesn't work very well
with what our img2enc.c supports.

* commit '79fdbfdb3e50f3f906903e027714ee04c1a00e89':
  img2enc: Refactor the atomic renaming code

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
3 years agoMerge commit 'f3fdef108eb06b1e71b29152bf6822519e787efe'
Derek Buitenhuis [Thu, 12 May 2016 13:20:51 +0000 (14:20 +0100)]
Merge commit 'f3fdef108eb06b1e71b29152bf6822519e787efe'

* commit 'f3fdef108eb06b1e71b29152bf6822519e787efe':
  ape: Avoid undefined behaviour

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
3 years agoMerge commit '6b2ad3ca48a6638cb0226ed5aab41d435d8c83a5'
Derek Buitenhuis [Thu, 12 May 2016 13:18:41 +0000 (14:18 +0100)]
Merge commit '6b2ad3ca48a6638cb0226ed5aab41d435d8c83a5'

This commit is a no-op.

* commit '6b2ad3ca48a6638cb0226ed5aab41d435d8c83a5':
  indeo3: Avoid undefined behaviour

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
3 years agoMerge commit 'eae2ebded3b801ed55d32746b98db88ffe196f4f'
Derek Buitenhuis [Thu, 12 May 2016 13:17:57 +0000 (14:17 +0100)]
Merge commit 'eae2ebded3b801ed55d32746b98db88ffe196f4f'

* commit 'eae2ebded3b801ed55d32746b98db88ffe196f4f':
  libxvid: Create extradata in init using a dummy frame

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
3 years agoMerge commit '785bfb1d7bb8de567c3aac1d9cc369b55ac9fb7b'
Derek Buitenhuis [Thu, 12 May 2016 13:17:08 +0000 (14:17 +0100)]
Merge commit '785bfb1d7bb8de567c3aac1d9cc369b55ac9fb7b'

* commit '785bfb1d7bb8de567c3aac1d9cc369b55ac9fb7b':
  pixfmt: fix wrong comment

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
3 years agoMerge commit '06edef3d5e072ef3c4face9ce946d2d9c36cc477'
Derek Buitenhuis [Thu, 12 May 2016 13:04:02 +0000 (14:04 +0100)]
Merge commit '06edef3d5e072ef3c4face9ce946d2d9c36cc477'

* commit '06edef3d5e072ef3c4face9ce946d2d9c36cc477':
  Generate the lists of enabled protocols/bsfs from configure.

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
3 years agolavc/libutvideoenc: Cast an unsigned constant to int.
Carl Eugen Hoyos [Thu, 12 May 2016 07:07:02 +0000 (09:07 +0200)]
lavc/libutvideoenc: Cast an unsigned constant to int.

Fixes the following warning / error:
libavcodec/libutvideoenc.cpp:281:1: warning: narrowing conversion of ‘3221258240u’ from ‘unsigned int’ to ‘int’ inside { } is ill-formed in C++11 [-Wnarrowing]

Fixes ticket #5542.

3 years agoavutil/cpu-test: Fix includes (needed for HAVE_*)
James Almer [Wed, 11 May 2016 20:03:21 +0000 (22:03 +0200)]
avutil/cpu-test: Fix includes (needed for HAVE_*)

Commit message by commiter
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 years agoavutil/float_dsp-test: Add include config.h for HAVE_*
Michael Niedermayer [Wed, 11 May 2016 20:03:03 +0000 (22:03 +0200)]
avutil/float_dsp-test: Add include config.h for HAVE_*

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>