Diego Biurrun
8f8bc92365
Add missing #includes for *INT64_MAX and *INT64_C
2013-11-23 21:55:52 +01:00
Diego Biurrun
0eeeb9647e
mpegaudiodec: Consistently handle fixed/float templating
2013-11-23 21:36:49 +01:00
Tim Walker
48b24bd2d2
ac3dec: Fix out-of-array read
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-11-23 21:36:49 +01:00
Alexandra Khirnova
6f270da61b
libschroedingerenc: do not assert on values from external libraries
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-11-23 12:08:53 +01:00
Tim Walker
d4df02131b
ac3dec: Remove write-only channel_layout field from AC3DecodeContext
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-11-22 23:27:34 +01:00
Tim Walker
b532854622
ac3: implement request_channel_layout.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-11-22 23:27:33 +01:00
Diego Biurrun
0ba8ba165b
aacps: Adjust some const qualifiers to suppress warnings
2013-11-22 08:21:38 +01:00
Anton Khirnov
430d121964
pcx: round up in bits->bytes conversion in a buffer size check
...
Fixes invalid reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-11-21 20:58:27 +01:00
Anton Khirnov
c918e08b9c
truemotion1: make sure index does not go out of bounds
...
Fixes invalid reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-11-21 20:58:08 +01:00
Anton Khirnov
de4ec972c0
vc1: fix a memleak.
...
Happens on a B-frame when neither low_delay nor last_picture_ptr is set
(probably corrupted streams only).
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
2013-11-21 20:57:36 +01:00
Anton Khirnov
ca41c72c6d
motionpixels: clip VLC codes.
...
Fixes invalid reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-11-21 20:57:20 +01:00
Anton Khirnov
f0259a587e
h264: check buffer size before accessing it
...
Fixes invalid reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-11-21 20:54:20 +01:00
Anton Khirnov
1f3e56b6dc
gifdec: convert to bytestream2
2013-11-21 20:53:06 +01:00
Anton Khirnov
c453723ad7
gifdec: check that the image dimensions are non-zero
...
Also add an error message an return a more suitable error code
(INVALIDDATA, not EINVAL);
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-11-21 20:52:42 +01:00
Anton Khirnov
074c769de9
h264_cavlc: check the size of the intra PCM data.
...
Fixes invalid reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
2013-11-21 20:52:34 +01:00
Diego Biurrun
ac0e03bab0
dct/fft: Give consistent names to fixed/float template files
2013-11-21 15:59:46 +01:00
Vittorio Giovara
305d3d9f1f
mpeg4videoenc: restore macro parentheses
...
These were erroneously removed in 8769113acc
.
2013-11-21 12:58:12 +01:00
Sean McGovern
a7b87ca911
libxavs: rename and fix a variable name
...
It was mis-spelled in b18c7c8d3d
.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2013-11-20 21:06:31 +01:00
Tim Walker
ffb0af7f17
ac3dec: simplify an expression
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-11-19 18:52:17 +01:00
Diego Biurrun
57f13fd7e9
dv_tablegen: Remove CONFIG_SMALL preprocessor check
...
The code does in no way depend on CONFIG_SMALL.
2013-11-19 16:04:27 +01:00
Vittorio Giovara
6f1ec8edf2
avcodec.h: include version.h before using version macro
2013-11-19 14:48:36 +01:00
Vittorio Giovara
c673fc919c
hevc_sei: drop unused parameter
2013-11-19 14:48:36 +01:00
Vittorio Giovara
d234c7a07c
mpeg4videodec: K&R formatting cosmetics
2013-11-19 14:48:36 +01:00
Vittorio Giovara
8769113acc
mpeg4videoenc: K&R formatting cosmetics
2013-11-19 14:48:36 +01:00
Kostya Shishkov
16e7b189c5
mpegvideo: Fix swapping of UV planes for VCR2
2013-11-19 02:05:51 +01:00
Tim Walker
69d4dbfd1f
aac_ac3_parser: simplify an expression
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-11-19 02:02:53 +01:00
Tim Walker
37a3cac78c
dcadec: simplify an expression
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2013-11-19 02:02:49 +01:00
Anton Khirnov
a553c6a347
lavc: use buf[0] instead of data[0] in checks whether a frame is allocated
...
data[0] may be NULL for valid frames with hwaccel pixel formats.
2013-11-18 18:09:48 +01:00
Anton Khirnov
1c01b0253e
mpegvideo_enc: use the AVFrame API properly.
2013-11-16 17:51:10 +01:00
Anton Khirnov
a6064b12b4
ffv1: use the AVFrame API properly.
2013-11-16 17:50:51 +01:00
Anton Khirnov
706a92926c
jpegls: use the AVFrame API properly.
2013-11-16 17:50:28 +01:00
Anton Khirnov
14b35bf065
huffyuv: use the AVFrame API properly.
2013-11-16 17:50:20 +01:00
Anton Khirnov
ffe04c3303
libxvid: use the AVFrame API properly.
2013-11-16 17:50:09 +01:00
Anton Khirnov
863a670e48
pcxenc: use the AVFrame API properly.
2013-11-16 17:49:47 +01:00
Anton Khirnov
7ca97aa7ee
roqvideo: remove unused variables
2013-11-16 17:49:40 +01:00
Anton Khirnov
372262853b
libschroedingerenc: use the AVFrame API properly.
2013-11-16 17:49:31 +01:00
Anton Khirnov
97168b204a
eatgv: use the AVFrame API properly.
2013-11-16 17:49:21 +01:00
Anton Khirnov
b18c7c8d3d
libxavs: use the AVFrame API properly.
2013-11-16 17:49:15 +01:00
Anton Khirnov
5290e02a0a
nuv: use the AVFrame API properly.
2013-11-16 17:49:02 +01:00
Anton Khirnov
d56a114adc
flashsvenc: use the AVFrame API properly.
2013-11-16 17:48:14 +01:00
Anton Khirnov
57e7b3a89f
dnxhdenc: use the AVFrame API properly.
2013-11-16 17:47:58 +01:00
Anton Khirnov
d2287740d9
libx264: use the AVFrame API properly.
2013-11-16 17:47:50 +01:00
Anton Khirnov
394ef4d18f
svq1enc: use the AVFrame API properly.
2013-11-16 17:47:34 +01:00
Anton Khirnov
219b35f5d1
gif: use the AVFrame API properly.
2013-11-16 17:47:25 +01:00
Anton Khirnov
45bde93eef
sunrastenc: use the AVFrame API properly.
2013-11-16 17:47:09 +01:00
Anton Khirnov
fb26d76167
targaenc: use the AVFrame API properly.
2013-11-16 17:46:51 +01:00
Anton Khirnov
f26f71139f
tiffenc: use the AVFrame API properly.
2013-11-16 17:46:24 +01:00
Anton Khirnov
78c6c9d6c1
pngenc: use the AVFrame API properly.
2013-11-16 17:46:16 +01:00
Anton Khirnov
0ea430c75b
lclenc: use the AVFrame API properly.
2013-11-16 17:46:01 +01:00
Anton Khirnov
d48c206302
qtrleenc: use the AVFrame API properly.
2013-11-16 17:45:28 +01:00