Paul B Mahol
011f3892ff
h264: use designated initializers for AVClass
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
e75357ea7c
xbmenc: cosmetics: reindent
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
5864fe62ef
flacdec: replace -1 with AV_SAMPLE_FMT_NONE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
5bac83dae8
shorten: fix U8 to be planar too
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
916e40b5b4
smacker: return more meaningfull error codes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Stefano Sabatini
cd559bb49a
lavc: add xface image decoder and encoder
...
Based on libcompface code by James Ashton <James.Ashton@anu.edu.au>, and
relicensed to LGPL with the author's consent.
13 years ago
Michael Niedermayer
35782bfbca
h264: Change asserts to av_asserts in ff_h264_fill_default_ref_list()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
151469db33
j2kenc: remove unneeded dereference
...
Fixes CID703723
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
f9d732c264
wmapro: use planar sample format
13 years ago
Justin Ruggles
2725ce7c7c
wmalossless: output in planar sample format
13 years ago
Justin Ruggles
7ebfe5b44a
wmadec: use float planar sample format output
13 years ago
Justin Ruggles
977eb7d567
shorten: use planar sample format
13 years ago
Michael Niedermayer
bc077ca6b5
j2kdec: remove unneeded operation
...
Fixes CID717554
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1e6cbb01e9
j2kdec: make curtilenum integer.
...
This fixes a potential crash.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0de0ae5a20
tag_tree_decode: check node being non null
...
Fixes CID717843
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a6cac64f69
compute_lpc_coefs: assert that normalize and fail have a supported combination
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
93ef29b6f4
noise_bsf: fix division by 0
...
Fixes CID733737
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
8441909f49
lavc: update documentation for AVFrame.extended_data
13 years ago
Michael Chinen
c73b1a1d80
flac_parser.c: fix issue with looping output for small files.
...
see trac 1345
https://ffmpeg.org/trac/ffmpeg/ticket/1345
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Thilo Borgmann
41bf943f70
bgmc: fix sizeof arguments (should fix CIDs: 700724 and 608084)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Hendrik Leppkes
572781b25f
h264: fix parsing of old lossless profile (profile_idc == 144)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Peter Ross
6bf43441f0
eatgq: raise error on unsupported macroblock mode
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Peter Ross
0ea55365b9
ansi: by design nb_args may exceed the size of the args array, so guard accordingly
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
de3b1116da
eatgq: fix small overread
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
dd5aff001e
svq1dec: use log level that have more common sense
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
7b9fc769e4
svq1dec: use more common way to check if result is not zero
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
8f4020d8a4
svq1dec: check return value of get_bits1() in more common way
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
e2bf1082cc
svq1dec: return more meaningful error codes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
2217a2249d
dpxenc: fix signed c99 overflows
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
014b178f84
g723_1: fix overflow in square_root()
...
the intermediate does not fit in a signed 32bit int
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2fed05f53a
avoid more "0xFF << 24" as it is considered a integer overflow in C99
...
missed these in my previous search and replace
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b12d92efd6
avoid "0xFF << 24" as it is considered a integer overflow in C99
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d3d715ff13
mpeg4videodec: Recalculate timebase in case of guessing time increment bits
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Thilo Borgmann
feaff427c0
alsdec: fix clipping of weightings for MCC decoding
...
Fixes CID717905
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
20ec0d2a75
mpegvideo: fix motion_val checks
...
Fixes CID604124
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f4d73f0fb5
mpegvideo: check return value of ff_MPV_common_init()
...
Fixes CID703621
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8cda27b753
avcodec_find_best_pix_fmt_of_2: fix handling or PIX_FMT_NONE
...
Fixes CID733775
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b3eb4f54c0
flashsv: check deflateInit() return value
...
Fixes CID703620
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6581b6cef4
dnxhdenc: assert ff_dnxhd_get_cid_table() return value
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1037e484f0
dnxhddata_ Fix mixup of sizeof() and array elements in ff_dnxhd_find_cid()
...
Fixes CID717910
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
670b927aa2
ffv1: make sure gob_count is not 0
...
Fixes division by 0
Fixes CID733736
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
2c85727f6c
lavc/codec_desc: add/update properties of some codecs
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
a5e0046a73
xbmdec: s/av_reverse/ff_reverse
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Diego Biurrun
52d113ee06
avutil: Rename ff_set_systematic_pal2() ---> avpriv_set_systematic_pal2()
...
Functions used across libraries should have avpriv_ and not ff_ prefixes.
13 years ago
Paul B Mahol
93931143fe
lavc: return s->get_buffer() error code if it errors out
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
f58f90238f
pngenc: write sample aspect ratio
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
8288c2b6cb
pngdec: read sample aspect ratio
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Sami Pietilä
3cc0252732
vp8dec: reset loopfilter delta values at keyframes
...
while testing a VP8 encoder I found a mismatch between FFMPEG and libvpx
VP8 decoders. The reason for this mismatch is that FFMPEG doesn't reset
loopfilter delta values at keyframes. Patch that fixes the issue is below.
I've verified that the output of ffmpeg after this patch matches libvpx.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
79133fd0e5
pcxenc: store sample aspect ratio
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
f2f711cde2
pcx: read sample aspect ratio
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago