Ganesh Ajjanagadde and Timothy Gu
6d1801b5aa
configure: make assignment of variable to '=' explicit
...
op== is confusing, as it may easily be mistook for an equality check,
while in reality it is doing an assigment to '='.
This patch has the additional benefit of cleaning up 2 warnings from shellcheck.net.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
2015-09-15 14:58:48 -07:00
Ganesh Ajjanagadde and Paul B Mahol
0f711126b8
avfilter/vsrc_cellauto: use the name 's' for the pointer to the private context
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
2015-09-15 18:34:44 +00:00
Ganesh Ajjanagadde and Ronald S. Bultje
f7b53c9527
avfilter/f_sendcmd: use the name 's' for the pointer to the private context
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2015-09-15 13:21:57 -04:00
Ganesh Ajjanagadde and Ronald S. Bultje
b26a45c2c3
avfilter/vf_vidstabdetect: use the name 's' for the pointer to the private context
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2015-09-15 11:12:49 -04:00
Ganesh Ajjanagadde and Paul B Mahol
e76be9cd45
avfilter/vf_xbr: use the name 's' for the pointer to the private context
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
2015-09-15 10:51:54 +00:00
Ganesh Ajjanagadde and Paul B Mahol
d13a2df8de
avfilter/vsrc_mandelbrot: use the name 's' for the pointer to the private context
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
2015-09-13 20:34:26 +00:00
Ganesh Ajjanagadde and Michael Niedermayer
07d33439f3
configure: colorize error messages
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-11 12:57:14 +02:00
Ganesh Ajjanagadde and Paul B Mahol
f6e598afa8
avfilter/vf_transpose: use the name 's' for the pointer to the private context
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
2015-09-10 21:30:43 +00:00
Ganesh Ajjanagadde and Paul B Mahol
5064b06224
avfilter/f_perms: use the name 's' for the pointer to the private context
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
2015-09-10 21:06:58 +00:00
Ganesh Ajjanagadde and Paul B Mahol
c07f493efe
avfilter/vf_super2xsai: use the name 's' for the pointer to the private context
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
2015-09-08 18:47:06 +00:00
Ganesh Ajjanagadde and Paul B Mahol
b45ff1386a
avfilter/vf_thumbnail: use the name 's' for the pointer to the private context
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
2015-09-07 20:17:46 +00:00
Ganesh Ajjanagadde and Michael Niedermayer
3e830b6dc8
configure: colorize warning messages
...
This patch introduces color warning messages (yellow).
They are enabled whenever available.
Tested with zsh, bash, and sh (bash under --posix).
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-07 16:27:17 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
d74123d03e
avfilter/af_asyncts: use llabs for int64_t
...
long may not be 64 bit on all platforms; so labs on int64_t is unsafe.
This fixes a warning reported in:
http://fate.ffmpeg.org/log.cgi?time=20150905071512&log=compile&slot=i386-darwin-clang-polly-3.7
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-09-06 11:59:34 +02:00
Ganesh Ajjanagadde and Paul B Mahol
78995dc241
avfilter/vf_unsharp: use the name 's' for the pointer to the private context
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
2015-09-05 20:36:35 +00:00
Ganesh Ajjanagadde and Paul B Mahol
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
Ganesh Ajjanagadde and Paul B Mahol
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
Ganesh Ajjanagadde and Paul B Mahol
0169c4dc81
avfilter/vf_separatefields: use the name 's' for the pointer to the private context
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
2015-08-30 15:58:12 +00:00
Ganesh Ajjanagadde and Paul B Mahol
47b41feb72
avfilter/af_apad: use the name 's' for the pointer to the private context
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
2015-08-29 16:38:38 +00:00
Ganesh Ajjanagadde and Paul B Mahol
9ba511d5d3
avfilter/af_amerge: use the name 's' for the pointer to the private context
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
2015-08-27 21:01:01 +00:00
Ganesh Ajjanagadde and Carl Eugen Hoyos
bfe525e632
configure: warn if GCC 4.2 is being used
...
The wiki, Ticket1464, and Ticket3970 warn about the usage of GCC 4.2.
This fixes Ticket3970.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
2015-08-27 16:56:34 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
f174bfea86
configure: remove unused apply() function
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-08-27 11:47:52 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
6455e4fb5b
configure: do not fork off grep subprocess while testing for whitespace
...
grep is not necessary for the functionality.
This avoids an unnecessary fork.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-08-26 11:53:15 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
060102389e
configure: do not fork off grep subprocess in probe_cc
...
grep is not required for the functionality in this instance.
This avoids an unnecessary fork, and also avoids a duplicated dumpversion call.
Furthermore, it also corrects behavior when no minor version number is present, see e.g
https://github.com/joyent/node/pull/25671 .
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-08-25 00:31:25 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
24e6729a04
swresample/dither: use integer arithmetic
...
This fixes a -Wabsolute-value reported by clang 3.5+ complaining about misuse of fabs() for integer absolute value.
An additional benefit is the removal of floating point calculations.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-08-23 23:19:31 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
9aaac04107
avdevice/lavfi: fix self assignment warning
...
FAIL(ret) expands to statements including a silly ret=ret.
This triggers a -Wself-assign on confirmed clang 3.6, and so we fix it.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Reviewed-by: Nicolas George <george@nsup.org >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-08-23 20:00:03 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
6638e4a950
avcodec/x86/mpegaudiodsp: correct asm guards
...
Fixes -Wunused-function warnings when compiling with --disable-yasm on x86.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-08-23 02:39:21 +02:00
Ganesh Ajjanagadde and Paul B Mahol
eb3cfa7dd3
swscale/alphablend: fix pointer cast
...
Commit 7c72a4bbd3 was slightly wrong
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
2015-08-22 20:11:48 +00:00
Ganesh Ajjanagadde and Michael Niedermayer
531b0a316b
avutil/x86/asm: rename REG_SP to REG_sp
...
REG_SP is defined by Solaris system headers.
This fixes a sea of warnings while building on Solaris:
http://fate.ffmpeg.org/report.cgi?time=20150820233505&slot=x86-opensolaris-gcc4.3
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-08-22 02:56:53 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
907373ea9d
avcodec/x86/v210-init: fix unused variable warning
...
Fixes a -Wunused-variable while compiling with --disable-yasm on x86
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-08-21 17:06:27 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
92b1a0fa9e
ffserver: cast PID to int64_t before printing
...
Unfortunately, there is no portable format specifier for PID's.
Furthermore, it is not safe to assume pid_t <= 32 bit in size,
see e.g http://unix.derkeiler.com/Mailing-Lists/AIX-L/2010-08/msg00008.html .
Right now, it is ok to assume pid_t <= 32 bit in size, but this may change in the future.
Also, this patch fixes warning due to lack of an appropriate cast from
http://fate.ffmpeg.org/report.cgi?time=20150820233505&slot=x86-opensolaris-gcc4.3 .
Note that this method of handling pid_t is in line with what nginx does.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-08-21 15:47:54 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
5edf8b118d
avformat/hls: correct comment for ensure_playlist()
...
Comment was previously slightly incorrect.
Also, it was placed in the wrong location.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-08-21 14:21:10 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
36f7a37895
avcodec/jpeg2000: comment out unused variable
...
Fixes -Wunused-const-variable from
http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-08-21 13:01:44 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
e8319f602e
avcodec/metasound_data: comment out unused variable
...
Fixes -Wunused-const-variable from
http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-08-20 23:39:04 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
c3052c9e8a
avcodec/aacsbr_fixed: remove unused variable
...
Fixes -Wunused-const-variable from
http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-08-20 21:23:51 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
b772847eb0
avformat/webmdashenc: fix uninitialized variable
...
Fixes -Wsometimes-uninitialized from
http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-08-20 21:03:08 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
ecf6b26aa5
avformat/ftp: use correct enum type
...
Fixes -Wenum-conversion from
http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-08-20 12:22:50 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
1bbb5ea10d
avformat/tls_gnutls: correct version detection for certificate support
...
Fixes Ticket3748
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-08-13 02:24:37 +02:00
Ganesh Ajjanagadde and Stefano Sabatini
8b63a88494
doc/ffmpeg,doc/ffplay: reference timespec definitions
...
Reference time definition syntax in option descriptions when appropriate.
Fixes trac ticket #4595 .
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Stefano Sabatini <stefasab@gmail.com >
2015-08-12 11:52:40 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
36e17d994e
tests/fate-run: make FATE non-interactive
...
FATE is non-interactive; it should not listen to user commands
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
This should fix leaving the terminal in a messed up state with
zsh in case of crashes during fate
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-08-12 00:10:57 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
0581ab2cac
avcodec/g729: add g729_parser
...
Add trivial g729 parser; fixes Ticket4753
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-08-11 23:16:35 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
92a4bda95b
doc/ffmpeg: correct minor typo
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-08-11 14:39:23 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
c1bfb99ff2
avformat/wavdec: add extra sample count check for G.729 files
...
Can be used to fix Ticket4577
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-07-31 03:17:55 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
92e62f49cf
ffmpeg: modify tty state when stderr is redirected
...
This fixes Ticket2964
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-07-30 14:31:26 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
13d605e090
wavdec: make sample count check more precise
...
May be used to fix Ticket4577
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-07-29 13:13:09 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
e3e4f1752c
doc/developer: add url for sample files
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-07-18 21:20:34 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
f6870495e1
avformat: increase first_frames threshold for mp3,ac3
...
Fixes Ticket4723
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-07-18 04:52:49 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
4547cf68a0
avformat/isom: utilize bitrate hints
...
Fixes Ticket4546
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2015-07-12 20:23:58 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
e34a3468f2
build: add LDLIBFLAGS
...
Fixes Ticket4673
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-07-08 14:35:02 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
42db4aaaa6
vf_colormatrix: calculate coefficients only once
...
calc_coefficients is no longer being called every frame
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-06-07 00:56:32 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
a86928d2ab
flvdec: fix lack of duration for some files
...
Fixes #4579
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-06-05 21:56:09 +02:00
Ganesh Ajjanagadde and Michael Niedermayer
196b885a5f
swresample/dither: check memory allocation
...
check memory allocation in swri_get_dither()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2015-06-03 11:46:37 +02:00