Vittorio Giovara
60e0ee7ca2
lpc: always initialize ref and err
CC: libav-stable@libav.org
Bug-Id: CID 29585 / CID 700759
11 years ago
Vittorio Giovara
3a6ddfb874
exr: check return value
CC: libav-stable@libav.org
Bug-Id: CID 1198259
11 years ago
Thilo Borgmann
e4cb6abb2f
bgmc: fix sizeof arguments
CC: libav-devel@libav.org
Bug-Id: CID 608084 / CID 700724
11 years ago
Vittorio Giovara
4b39cc1a09
riff: support ProRes in avi (APCN fourcc)
11 years ago
Vittorio Giovara
a2448cfe16
jpeg2000: do not compute the same value twice
CC: libav-stable@libav.org
Bug-Id: CID 1026771 / CID 1026772 / CID 1026773
11 years ago
Vittorio Giovara
59846452af
svq1enc: check ff_get_buffer return value
CC: libav-stable@libav.org
Bug-Id: CID 747723
11 years ago
Vittorio Giovara
994ab1804b
ansi: check ff_set_dimensions return value
CC: libav-stable@libav.org
Bug-Id: CID 1135737
11 years ago
Vittorio Giovara
c7384664ba
avs: check ff_set_dimensions return value
CC: libav-stable@libav.org
Bug-Id: CID 1135738
11 years ago
Vittorio Giovara
2b5c1efa14
g2meet: check ff_set_dimensions return value
CC: libav-stable@libav.org
Bug-Id: CID 1135739
11 years ago
Vittorio Giovara
c6d7c201df
indeo3: check ff_set_dimensions return value
CC: libav-stable@libav.org
Bug-Id: CID 1135740
11 years ago
Vittorio Giovara
8e104619a6
shorten: check for return value
Avoid a possible negative bitshift.
CC: libav-stable@libav.org
Bug-Id: CID 1194400
11 years ago
Vittorio Giovara
d5d2d6c3b8
dcadec: initialize variables before use
CC: libav-stable@libav.org
Bug-Id: CID 700751 / CID 700752
11 years ago
Vittorio Giovara
1a9c1333b5
escape124: explicitly set get_bits1 variable
Makes coverity less confused.
CC: libav-stable@libav.org
Bug-Id: CID 1203487
11 years ago
Vittorio Giovara
2ffb0598db
mlpdec: check for negative index
CC: libav-stable@libav.org
Bug-Id: CID 970924
11 years ago
Vittorio Giovara
6abe7edabb
ffv1: fix out-of-bounds read
CC: libav-stable@libav.org
Bug-Id: CID 1047234
11 years ago
Vittorio Giovara
5aa710f461
vorbisenc: add missing parenthesis
Bug-Id: CID 1238791
11 years ago
Vittorio Giovara
e9a6ae775d
dpxenc: mention missing break
Bug-Id: CID 732229
11 years ago
Vittorio Giovara
4dda5e9b08
sunrastenc: mention missing break
Bug-Id: CID 732231
11 years ago
Vittorio Giovara
28d82b7675
vc1dec: refactor check with missing parenthesis
FATE tests updated accordingly, no visual difference.
CC: libav-stable@libav.org
Bug-Id: CID 1087087
11 years ago
Vittorio Giovara
2c98dc75f2
vc1dec: always initialize tx and ty
CC: libav-stable@libav.org
Bug-Id: CID 1245702 / CID 1245703
11 years ago
Vittorio Giovara
e3f50f2471
dnxhdenc: check negative index
CC: libav-stable@libav.org
Bug-Id: CID 700464
11 years ago
Vittorio Giovara
b1b1a7370e
display: fix order of operands
CC: libav-stable@libav.org
Bug-Id: CID 1238828 / CID 1238832
11 years ago
Vittorio Giovara
bdcb5794f0
nellymoserenc: fix array index
CC: libav-stable@libav.org
Bug-Id: CID 732258
11 years ago
Michael Niedermayer
aa7c429c4e
nellymoserenc: fix array element ordering
Fixes assertion failures and valgrind warnings in trellis encoder.
CC: libav-stable@libav.org
Bug-Id: CID 732256 / CID 732257
11 years ago
Vittorio Giovara
8dd0a2c5cf
libopusenc: prevent an out-of-bounds read by returning early
CC: libav-stable@libav.org
Bug-Id: CID 1244188
11 years ago
Vittorio Giovara
b09cf8afc5
libopusenc: check return value
CC: libav-stable@libav.org
Bug-Id: CID 739870
11 years ago
Michael Niedermayer
29234f5681
vp7: fix checking vp7_feature_value_size()
CC: libav-stable@libav.org
Bug-Id: CID 1197061
11 years ago
Vittorio Giovara
68a35473ed
4xm: more thorought check for negative index and negative shift
CC: libav-stable@libav.org
Bug-Id: CID 1087094
11 years ago
Luca Barbato
c9c7d59b7d
tiff: Use av_mallocz_array
CC: libav-stable@libav.org
11 years ago
Luca Barbato
c6074a30ba
opt: Fix the documentation mentioning av_set_string3
It is av_opt_set now.
11 years ago
John Stebbins
1b66726906
h264_parser: don't stop on SPS_EXT in split
Add SPS_EXT, SEI, and subset SPS to codes that are skipped during split.
These codes can come before the PPS and results in incomplete extradata.
11 years ago
Michael Niedermayer
4cb9f1a774
h264_cabac: fix one fill_rectangle() indentation level
Bug-Id: CID 1087088
11 years ago
Vittorio Giovara
60b0551334
png_parser: fix size of chunk_lenght
Fixes the comparison against constant value 0x7fffffff.
CC: libav-stable@libav.org
Bug-Id: CID 1198260
11 years ago
Vittorio Giovara
443502aed8
dvbsubdec: move shared codepath
CC: libav-stable@libav.org
Bug-Id: CID 1238839
11 years ago
Vittorio Giovara
2383323661
dvbsubdec: improve error checking
Use av_mallocz_array instead of iterating and check the returned memory.
Check returned memory and cleanly exit in case of error during the loop.
Avoid a null pointer dereference for invalid data.
CC: libav-stable@libav.org
Bug-Id: CID 29575
11 years ago
Jernej Fijačko
1bdd21d975
dvbsubdec: add missing break
Fix a memory leak too.
CC: libav-stable@libav.org
Bug-Id: CID 732230
11 years ago
Michael Niedermayer
a6defd1f5b
hevc_cabac: decrease CABAC_MAX_BIN
Prevents shifts with undefined behavior, as no syntax element has a valid
value greater than 1 << 31.
Bug-Id: CID 1206635
11 years ago
Vittorio Giovara
9e9be5a20c
hevc_mvs: prevent unitialized use
CC: libav-stable@libav.org
Bug-Id: CID 1244202
11 years ago
Vittorio Giovara
0e1ebfebc8
4xm: drop unnecessary check
data_size is always >= 0 in this case.
CC: libav-stable@libav.org
Bug-Id: CID 1238788
11 years ago
Michael Niedermayer
7c61e4b1a0
hpeldsp: Increase put_no_rnd_pixels_tab[][] size
CC: libav-stable@libav.org
Bug-Id: CID 991852
11 years ago
Vittorio Giovara
db71c4926d
mjpegenc: fix argument size in encode_mb
CC: libav-stable@libav.org
Bug-Id: CID 1047235
11 years ago
Vittorio Giovara
f349f4b550
mpegvideo: fix size of array
CC: libav-stable@libav.org
Bug-Id: CID 1238789
11 years ago
Vittorio Giovara
898e9a24ef
mpegvideo: check mpv return value
CC: libav-stable@libav.org
Bug-Id: CID 1238786
11 years ago
Michael Niedermayer
fe27aeaeab
mpeg12enc: increase declared size of block function argument
CC: libav-stable@libav.org
Bug-Id: CID 1047236
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 years ago
Martin Storsjö
52f954da75
libavcodec: Unconditionally build xiph.o
vorbis_parser.o is built unconditionally since 5e80fb7ff, and the
unconditionally built parts of it depend on xiph.o.
This fixes builds with --disable-everything.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Martin Storsjö
b776113e5d
v4l2: Unify one instance of reading/storing errno
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Martin Storsjö
28396d17ff
libfdk-aacdec: Support building with the latest version of fdk-aac
The latest fdk-aac code drop (from android 5.0) changed the channel
layout enums (changing the value of existing enum constants), and
renamed the option for downmixing.
The failsafe comparison between ctype and FF_ARRAY_ELEMS(channel_counts)
can trigger warnings (-Wtautological-constant-out-of-range-compare)
when building with the old FDK AAC releases, where it can't be
out of range with the enum values used there.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Luca Barbato
09f25533a5
v4l2: Preserve errno values
av_log usually resets it.
11 years ago
Tristan Matthews
a1a259881f
v4l2: Use av_strerror
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Luca Barbato
e3e317e0c0
lavc: Compact the side-data passthrough
11 years ago