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
Derek Buitenhuis
d55568d22a
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>
9 years ago
Derek Buitenhuis
278dcec28d
Merge commit 'a6e27f7add2698fdd89911632b570c3d0c3f2aaa'
...
* commit 'a6e27f7add2698fdd89911632b570c3d0c3f2aaa':
h264: factor out parsing the reference count into a separate file
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Derek Buitenhuis
6b295bccbb
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>
9 years ago
Derek Buitenhuis
7ab2c036b9
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>
9 years ago
Hendrik Leppkes
15ad023210
Merge commit '8d0cc8ca97678f4ca87948ebabcbaab5a4f4c1f6'
...
* commit '8d0cc8ca97678f4ca87948ebabcbaab5a4f4c1f6':
h264_parser: switch to h2645_parse for NAL unescaping
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
9 years ago
Hendrik Leppkes
a9bb4cf87d
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
9 years ago
Paul B Mahol
95b20ad7b2
avcodec/iff: fix artifacts with uncompressed ham ANIMs
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
ZhouXiaoyong
af3e944e7e
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>
9 years ago
James Almer
60c2e38dcb
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>
9 years ago
James Almer
ab3c04c458
avformat/dtshddec: parse chunks stored after audio data
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Paul B Mahol
72e33eec3a
avcodec/iff: add support for ANIMs with keyframes and concatenated ANIMs
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
8767470fb5
avcodec/iff: check if there is enough bytes left
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
635b2ec5f2
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>
9 years ago
Michael Niedermayer
6085d6b2ae
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>
9 years ago
Michael Niedermayer
feeb3a9261
swresample/resample: Fix division by 0 with tap_count=1
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
2f76157eb0
swresample/rematrix: Use clipping s16 rematrixing if overflows are possible
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
5afecff1ef
avformat/adxdec: set bit_rate, fixes duration calculation
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
7fe81bc4f8
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>
9 years ago
Michael Niedermayer
35c23bf67d
avcodec/dsd: Fix "warning: ctables defined but not used [-Wunused-variable]"
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
5350e0fc97
avcodec/iff: rewrite out of bounds checking in writer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
fd4a52e4da
avcodec/dstdec: Fix "warning: initialization from incompatible pointer type [enabled by default]"
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
James Almer
81c3ce0855
doc/general: update supported DCA extensions
9 years ago
Will Kelleher
964f07f68e
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>
9 years ago
Paul B Mahol
6543a72fce
doc/general: mention DST decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
9b017ac7f1
doc/general: mention WSD demuxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
26eee872e8
avcodec/escape124: change transitions table type to int8_t
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
f57897e498
avcodec: bump minor and update Changelog for recent DST addition
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Peter Ross
86e493a6ff
avcodec: add Direct Stream Transfer (DST) decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
foo86
365b0c13e4
avcodec/dca: print error message when no frame is found in packet
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
51a1c1c6ac
avcodec/iff: check for end of buffer in input for delta_l decompression
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
ZhouXiaoyong
d680ab1c46
avutil/mips: header asmdefs.h add some PTR_ macros for loongson
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
James Almer
004b582386
avutil/lzo: split test out into a separate file
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Paul B Mahol
01ead2a639
avcodec/iff: implement 3rd delta ANIM decompression
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
James Almer
8ba257bac6
avformat/Makefile: fix avlanguage dependencies
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
d8ef8b960a
avutil/sha512-test: fix memleak
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
7ee0e0ca1d
avutil/sha-test: fix memleak
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
64dbfcc415
avutil/ripemd-test: fix memleak
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
f92d2f3292
avutil/aes-test: fix memleak
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Matthieu Bouron
f6265a5cbc
swresample/arm: add ff_resample_common_apply_filter_{x4,x8}_{float,s16}_neon
9 years ago
Paul B Mahol
17ea1cd559
avcodec/iff: change delta l offset to uint32_t
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Andriy Lysnevych
ed3a02547c
avcodec/avpacket: Respect payload offset in av_packet_ref
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Tobias Rapp
77d1e88cf5
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>
9 years ago
Paul B Mahol
cb928fc448
lavc: add IFF ANIM decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Derek Buitenhuis
97946b20b6
Merge commit 'f3ed484953b81856e40239d2410058a96188b2be'
...
* commit 'f3ed484953b81856e40239d2410058a96188b2be':
h264_mp4toannexb_bsf: do not fail on annex B extradata
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Luca Barbato
dd4fb2339f
ape: Unbreak adaptcoeffs computation
...
And simplify and explain the expression.
Fault introduced in f3fdef108e
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Derek Buitenhuis
5b9a4476e3
Merge commit '5fca95c8e515a5ae542d9626ec088bdfc658450e'
...
* commit '5fca95c8e515a5ae542d9626ec088bdfc658450e':
libx264: Forbid inverted Stereo3D mode
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Derek Buitenhuis
e3cfd1b275
Merge commit '9e2af0e9071a1229cfe21efff394691d91f979b2'
...
* commit '9e2af0e9071a1229cfe21efff394691d91f979b2':
libx264: Allow Stereo3D monoscopic value
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Derek Buitenhuis
d4acf9f2dd
Merge commit 'a08b5d7b5725932f4ad39e95c5d6589392dee2c6'
...
* commit 'a08b5d7b5725932f4ad39e95c5d6589392dee2c6':
build: Silence the lcov-reset target
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Derek Buitenhuis
1549ca4267
Merge commit '75b90ef722b7cdfc70118ab987e298d087aae693'
...
* commit '75b90ef722b7cdfc70118ab987e298d087aae693':
libavformat: Update the comment about AVOutputFormat flags
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago