dsmudhar
6b852a3fd9
libavutil/opencl: fixed uninitialized var warning
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
dsmudhar
84417593b9
libavcodec/cfhd: fixed wrong printf format
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
dsmudhar
5836a5037e
libavfilter/af_hdcd: fixed negative signed value shift
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Petru Rares Sincraian
89806e0b9a
fate: add aecho test
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
cd506c2792
avcodec/truemotion2rt: also export key frame info
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Piotr Bandurski
854c405dab
avcodec/iff: mention RGB8/RGBN decoder
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
5ce1d089f0
avcodec/mvcdec: simplify, no need to use reget buffer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
566be4f9e8
avformat/matroskaenc: reindent after last commit
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
2062d51275
avformat/matroskaenc: wrap par->format use as sample format under codec_type == AVMEDIA_TYPE_AUDI
...
Fixes CID1361946
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
9d5894b239
avformat/avienc: Fix memleaks on errors
...
Fixes CID1361951
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
ea88dc3e8e
avformat/avienc: Rename reshuffles return variable to ensure it is not mixed up
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
defb960a47
avfilter/af_loudnorm: fix crash when ebur128 initialization was not successfull/complete
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
4da4bfcdc9
avformat: add MTAF demuxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
8c17eea46f
avcodec: add adpcm MTAF decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
e7c5dbb4d1
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>
9 years ago
Paul B Mahol
8e069eb525
avcodec/aic: add frame threading support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Zhou Xiaoyong
c749be9eb3
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>
9 years ago
Zhou Xiaoyong
4a963ee698
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>
9 years ago
Zhou Xiaoyong
a20646bb24
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>
9 years ago
Paul B Mahol
ccc3f4e710
avcodec/sgirledec: simplify, no need to use reget buffer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
ZhouXiaoyong
a3eb5a3cdd
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>
9 years ago
foo86
64fe1eebdd
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>
9 years ago
foo86
801dbf0269
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>
9 years ago
foo86
a0349ae27c
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>
9 years ago
foo86
39f7620d76
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>
9 years ago
foo86
b5cda23039
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>
9 years ago
Michael Niedermayer
b50bd69516
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>
9 years ago
foo86
e0706e9cc8
avcodec/dca: remove Rice code length limit
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Paul B Mahol
8b5941ce59
doc/filters: fix order of tinterlace filter drop modes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
b24fffeb94
avcodec/utils: Move avctx->codec check before its use
...
Fixes CID1361954
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
14992421df
avcodec/adpcm: pick correct step_index for IMA AMV
...
Fixes #5538
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
699201ac0e
avcodec/options-test: Check avcodec_open2() return value
...
Fixes: CID1361937
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Stefano Sabatini
4b38df82c2
lavf/mpegts: add ID3 entry to the REGD_types array
...
This allows to recognize ID3 packets from their corresponding descriptor
tag.
9 years ago
Stefano Sabatini
1ab8e03a45
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.
9 years ago
Michael Niedermayer
7ecfe4dc36
avcodec/diracdec: Fix potential integer overflow
...
Fixes CID1361948
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
7494b49780
avformat/iff: parse DPAN chunk
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
a5c5ae5ed8
avcodec/iff: add support for ANBR files
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
James Almer
e34e7a575e
avformat/dtshddec: move data_start outside of DTSHDDemuxContext
...
It's only used in dtshd_read_header()
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Michael Niedermayer
df01a29c1b
avcodec/exr: Fix potential integer overflow
...
Fixes CID1361949
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
641dccc2aa
avcodec/h264: Check init_get_bits8() for failure
...
Fixes CID1361935
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
4a81bddb4d
ffmpeg_filter: Fix AVBufferSrcParameters leak
...
Fixed: CID1361950
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
d08f2c172f
avformat/avidec: Detect index with too short entries
...
Fixes Ticket5498
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
7155bd1c94
avcodec/m101: Ask for samples with too small extradata_size
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Kyle Swanson
c0c378009b
avfilter: add loudnorm
...
Signed-off-by: Kyle Swanson <k@ylo.ph>
9 years ago
Michael Niedermayer
42ee137a0a
avcodec/m101: Check BPS value
...
Fixes null pointer dereference
Fixes Ticket5520
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
810a8ba5b6
avcodec/iff: add forgotten checks for end of input buffer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
eef2f64294
avcodec/iff: scala anim32 & anim16 decompression
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
936751b652
avformat/avio: Fix null pointer dereference in case of memleak
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Yong Lei
7bacf74536
avformat/avio: fix memory leak in url_find_protocol
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Chris Cunningham
2875745d35
avformat/utils: Check negative bps before shifting in ff_get_pcm_codec_id()
...
Fixes: undefined shift.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago