dd7b486e8e
lavf/http: Fix incorrectly placed parenthesis.
...
The assignment had incorrectly placed parentheses which resulted in ret
always being > 0.
Reviewed-by: wm4 <nfxjfg@googlemail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-03 18:55:49 +02:00
92b3c486b0
avfilter/af_dynaudnorm: Fix typo in assert
...
Fixes: CID1322303
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-03 18:55:06 +02:00
629fcda4da
avfilter/avf_showfreqs: Use floating point division in WFUNC_BHANN
...
Fixes: CID1322365
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-03 18:54:14 +02:00
9f6ca28e32
avformat/concatdec: Check file variable before dereferencing
...
Fixes CID1322328
Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu >
Reviewed-by: Nicolas George <george@nsup.org >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-03 18:53:44 +02:00
5131ba5657
AAC: MIPS: Add missing codebooks in quantize funcs
...
Add entries on the quantize function tables for the missing
codebooks (which all behave like ZERO)
2015-09-03 11:27:52 -03:00
bcb3332b1b
AAC: Increase fuzziness of fate-aac tests
...
Needed to make them pass in mips
2015-09-03 10:16:33 -03:00
3cf0c959cd
doc: Explain how to use the fps and the fieldmatch filter together.
...
Fixes ticket #3968 .
2015-09-03 14:36:34 +02:00
fddcd9e570
avformat/file: Fix copy and paste error
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-03 12:42:40 +02:00
c0ae4619ec
avfilter/vf_sab: use the name 's' for the pointer to the private context
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
2015-09-03 09:47:44 +00:00
9136e65c40
avcodec/fraps: use init_get_bits8()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2015-09-03 09:47:44 +00:00
4cad4bd4ca
avformat/hlsenc: Fix memleak of path
...
Fixes: CID1322343
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-03 11:28:29 +02:00
e3d8504fd0
avformat/hlsenc: Initialize vtt_oc to help static analyzers
...
This is also more robust in case it ever is used
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-03 11:28:29 +02:00
879603fa3f
avformat/latmenc: Add assert to avoid coverity warning
...
Fixes CID1322323
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-03 11:28:29 +02:00
8d2b4b8c82
avfilter/vf_drawgraph: add rscroll slide mode
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2015-09-03 09:12:14 +00:00
81f7a2579b
avcodec/vorbisdec: use init_get_bits8()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2015-09-03 09:12:14 +00:00
7820197d2c
avfilter/vf_vectorscope: constify more variables
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2015-09-03 09:12:14 +00:00
1c88ef0c99
avfilter/vf_vectorscope: support more formats for color4 mode in common case
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2015-09-03 09:12:14 +00:00
19dfbe9298
avfilter/vf_elbg: make it possible to output to pal8 pixel format
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2015-09-03 09:12:06 +00:00
bd70303ead
avformat/swfdec: Check return value of init_get_bits8()
...
Fixes: CID1322320
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-03 10:20:29 +02:00
32f53958b8
swresample/swresample: Fix integer overflow in seed calculation
...
Fixes CID1322333
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-03 09:32:43 +02:00
053e80f6ea
avformat/mov: Fix integer overflow in FFABS
...
Fixes: unknown_unknown_19e_414_cov_764838672_bellhamlam.mov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-03 09:20:57 +02:00
d6cd614dac
avutil/common: Add FFNABS()
...
This macro avoids the undefined corner case with the *_MIN values
Previous version Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-03 09:05:50 +02:00
d1bdaf3fb2
avformat/dump: Fix integer overflow in aspect ratio calculation
...
Fixes: unknown_unknown_19e_414_cov_764838672_bellhamlam.mov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-03 02:50:41 +02:00
733511fb53
avutil/common: Document FFABS() corner case
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-03 02:18:01 +02:00
26a0cd1b4b
lavf: add V as a video stream specifier which is not an attached picture
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-09-02 21:35:21 +02:00
863522431f
avcodec/mpeg12dec: Fix integer overflow
...
Fixes: signal_sigabrt_7ffff6ac8cc9_686_cov_1897408623_microsoft_new_way_to_shove_mpeg2_in_asf.dvr_ms
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-02 21:11:07 +02:00
d9b56895b5
avcodec/mpegvideo: change bit_rate to 64bit
...
32bit is not sufficient for all cases
Fixes: signal_sigabrt_7ffff6ac8cc9_686_cov_1897408623_microsoft_new_way_to_shove_mpeg2_in_asf.dvr_ms
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-02 21:10:36 +02:00
5b6a50e150
avcodec/mpegvideo_parser: Fix integer overflow
...
Fixes: signal_sigabrt_7ffff6ac8cc9_686_cov_1897408623_microsoft_new_way_to_shove_mpeg2_in_asf.dvr_ms
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-02 20:55:09 +02:00
cf818be4f2
avcodec/truemotion1: Fix undefined behavior (left shift of negative value)
...
Fixes: asan_heap-oob_26f6853_862_cov_585961513_sonic3dblast_intro-partial.avi
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-02 20:45:07 +02:00
95010d49a2
avcodec: loongson optimize mpeg2 dct unquantize intra and denoise dct
...
Change-Id: I2f391ae912a079fb32f0703841dca86358aac72a
Signed-off-by: ZhouXiaoyong <zhouxiaoyong@loongson.cn >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-02 16:53:32 +02:00
c4a0a326a1
lavfi/colormatrix: Add a bt601 alias
...
Matches what av_get_colorspace_name() and av_color_space_name() report.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-02 16:35:21 +02:00
a4188c9cd2
ffmpeg: Improve help text for -target.
...
Fixes ticket #1057 .
2015-09-02 14:32:06 +02:00
933309a6ca
avcodec/mips/aaccoder_mips: disable optimizatios which break fate-aac-pns-encode
...
These should be re enabled once the issue is fixed
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-02 13:04:57 +02:00
10d16647cc
fate: increase fuzziness for the AAC encoder prediction test
...
Fails on x86_64 using ICC 13.1.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com >
2015-09-02 08:36:53 +01:00
dcf72da841
fate: add fuzziness to the AAC Encode prediction test
...
Fails on ppc64 architecture under Ubuntu.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com >
2015-09-02 07:15:42 +01:00
72adf24310
fate: update AAC encoder tests
...
TNS had both IS and PNS switched on when it makes more sense
to have them both off.
Prediction had a redundant argument.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com >
2015-09-02 06:39:59 +01:00
20dc527139
aacenc: reorder coding tools
...
This commit reorders the coding tools such that they're doing what
the decoder does in reverse order. The very first thing the decoder
does is to decode M/S stereo if that's signalled, then prediction,
IS, and finally TNS and PNS in another function.
adjust_frame_information()'s application of IS and M/S was taken
out into two separate functions since prediction doesn't expect
to get the raw coefficients but rathe the coefficients at that
part of the encoding process.
The results show a much better PSNR when any combination of
Intensity Stereo, Mid/Side stereo and Prediction is used, which
is a sign of an increased encoder efficiency as well as the fact
that the decoder gets what it expects.
Otherwise, with only IS, PNS or prediction there are neither
regressions nor improvements except in the case of IS, which
now by itself (or with PNS) is less prone to artifacts. Enabling
M/S (using stereo_mode) as well will also reduce stereo artifacts
induced by IS, so in the very near future M/S may be enabled
by default.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com >
2015-09-02 06:26:45 +01:00
a4055d3e5d
avformat/hlsenc: add a use_localtime option to expand the segment filename with localtime
...
test examples:
./ffmpeg -re -i ~/Movies/objectC/facebook.mp4 -v verbose -c copy -f hls -hls_segment_filename test-%s.ts -use_localtime 1 -bsf:v h264_mp4toannexb aaa.m3u8
[StevenLiu@localhost ffmpeg]$ cat aaa.m3u8;ll test-*.ts
test-1441052221.ts
test-1441052231.ts
test-1441052235.ts
test-1441052243.ts
test-1441052249.ts
-rw-r--r-- 1 StevenLiu staff 1310736 9 1 04:15 test-1441052131.ts
-rw-r--r-- 1 StevenLiu staff 495192 9 1 04:15 test-1441052141.ts
-rw-r--r-- 1 StevenLiu staff 1310736 9 1 04:17 test-1441052212.ts
-rw-r--r-- 1 StevenLiu staff 1067840 9 1 04:17 test-1441052221.ts
-rw-r--r-- 1 StevenLiu staff 235564 9 1 04:17 test-1441052231.ts
-rw-r--r-- 1 StevenLiu staff 1187220 9 1 04:17 test-1441052235.ts
-rw-r--r-- 1 StevenLiu staff 694848 9 1 04:17 test-1441052243.ts
-rw-r--r-- 1 StevenLiu staff 526588 9 1 04:17 test-1441052249.ts
[StevenLiu@localhost ffmpeg]$
./ffmpeg -re -i ~/Movies/objectC/facebook.mp4 -v verbose -c copy -f hls -hls_segment_filename test-%s.ts -use_localtime 1 -bsf:v h264_mp4toannexb aaa.m3u8
[StevenLiu@localhost ffmpeg]$ cat aaa.m3u8;ll aaa-*.ts
aaa-1441052417.ts
aaa-1441052427.ts
aaa-1441052437.ts
aaa-1441052440.ts
aaa-1441052449.ts
-rw-r--r-- 1 StevenLiu staff 1310736 9 1 04:19 aaa-1441052382.ts
-rw-r--r-- 1 StevenLiu staff 277300 9 1 04:19 aaa-1441052392.ts
-rw-r--r-- 1 StevenLiu staff 1310736 9 1 04:20 aaa-1441052417.ts
-rw-r--r-- 1 StevenLiu staff 1067840 9 1 04:20 aaa-1441052427.ts
-rw-r--r-- 1 StevenLiu staff 235564 9 1 04:20 aaa-1441052437.ts
-rw-r--r-- 1 StevenLiu staff 1187220 9 1 04:20 aaa-1441052440.ts
-rw-r--r-- 1 StevenLiu staff 338776 9 1 04:20 aaa-1441052449.ts
[StevenLiu@localhost ffmpeg]$
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-02 04:31:32 +02:00
62bd8deef9
avcodec/hevc_parser: fix split function of parser
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-02 02:48:43 +02:00
b7baebb754
avcodec/ffv1dec: Print CRCs at picture debug level
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-02 02:11:43 +02:00
eac161451d
avcodec/ffv1dec: Check that there is enough space for the CRC in the global header
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-02 02:10:31 +02:00
1376084dcb
avcodec/h264_slice: replace assert by normal error check
...
Fixes assertion failure
Fixes: c6075771557e4f3b7b74e63d2d24fb01/signal_sigabrt_7ffff6ac8cc9_133_cov_2853689970_CREDITS.FST
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-02 01:22:45 +02:00
3eae98c1ac
lavf/dv: Do not return EIO for every error (like EOF).
...
Fixes ticket #4818 .
Reviewed-by: Ronald S. Bultje
Reviewed-by: Paul B Mahol
2015-09-02 00:59:10 +02:00
9dbc50b4cd
avfilter/vf_subtitles: allow setting fonts directory
...
This is mostly useful if libass was compiled with a font provider
other than fontconfig, but is still useful in that case.
Signed-off-by: Ricardo Constantino <wiiaboo@gmail.com >
2015-09-02 00:47:52 +02:00
642d2f9d55
avcodec/version: Minor version bump due to 5d12d7de2c
...
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-01 23:02:15 +02:00
c7c207aecd
avformat/mxg: Use memmove()
...
Fixes undefined behavior
Fixes: 1700002963a49da13542e0726b7bb758/unknown_unknown_292_658_cov_2141972066_m1.mxg
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-01 22:46:23 +02:00
5d12d7de2c
mpegts: demux BluRay text subtitles
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-01 14:35:32 +02:00
757cb0f286
mpegts: fix demuxing PES private stream 2
...
PES header size is 6 bytes (00 00 01 bf XX XX), not 0.
BluRay text subtitles use private stream 2.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-01 14:35:32 +02:00
d79c200000
avfilter/vf_spp: use the name 's' for the pointer to the private context
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
2015-09-01 12:02:56 +00:00
dc926ab518
rtmp: support the AMF_DATE tag
...
Instead of returning EINVAL, which can cause a stream to fail to load, this
allows the tag to be passed through to the flv demuxer, where it's summarily
ignored.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-01 13:35:37 +02:00