Anton Khirnov
367732832f
lavf,lavc: free avoptions in a generic way.
...
It's simpler and less error-prone.
Fixes some memleaks along the way.
2011-06-05 15:01:36 +02:00
Anton Khirnov
b39b06233d
AVOptions: add av_opt_free convenience function.
2011-06-05 15:01:36 +02:00
Diego Biurrun
92b4abc2ad
tableprint: Restore mistakenly deleted common.h #include for FF_ARRAY_ELEMS.
...
This fixes the build with hardcoded tables enabled.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-05 12:25:38 +01:00
Stefano Sabatini
1863a3c7aa
tiff: print log in case of unknown / unsupported tag.
...
Helps debugging.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-06-05 12:49:14 +02:00
Stefano Sabatini
a43458d7eb
tiff: fix linesize for mono-white/black formats.
...
Fix decoding of file Test_1bpp.tif
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-06-05 12:49:14 +02:00
Mans Rullgard
5a4a71257c
Fix build of eval-test program
...
eval.c has moved to libavutil, move the TESTPROGS entry too.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-05 11:47:14 +01:00
Robert Swain
dcb73592f4
configure: Document --enable-vaapi
...
VAAPI is disabled by default so it should have a --enable-vaapi option
documented, not a --disable-vaapi.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-05 11:45:27 +01:00
Justin Ruggles
35d5cb1ab4
ac3enc: extract all exponents for the frame at once
2011-06-04 19:08:37 -04:00
Mans Rullgard
594fbe42c6
ARM: remove MULL inline asm
...
Reasonable gcc versions get this one right on their own.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-04 21:33:23 +01:00
Mans Rullgard
95912731c2
mathops: use MUL64 macro where it forms part of other ops
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-04 20:10:20 +01:00
Anton Khirnov
8346f60afb
tty: factorise returning error codes.
2011-06-04 19:53:45 +02:00
Anton Khirnov
e762b1ce95
rawdec: add framerate private option.
2011-06-04 19:51:43 +02:00
Anton Khirnov
ff494cbdaf
x11grab: add framerate private option.
2011-06-04 19:49:56 +02:00
Anton Khirnov
a3b15e411d
fbdev,v4l2: remove some forgotten uses of AVFormatParameters.time_base.
2011-06-04 19:48:08 +02:00
Anton Khirnov
1572484f62
bktr: don't error when AVFormatParameters.time_base isn't set.
...
There's a private option for it now.
2011-06-04 19:47:59 +02:00
Mans Rullgard
42abb9a80d
cmdutils: add missing const qualifier
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-04 18:09:01 +01:00
Diego Biurrun
61ec024d39
Skip headers not designed to work standalone during 'make checkheaders'.
2011-06-04 18:16:38 +02:00
Diego Biurrun
8d459acc10
Add missing #includes to make headers self-contained.
...
This fixes 'make checkheaders'.
2011-06-04 18:15:50 +02:00
Mans Rullgard
67ace7f047
musepack: remove unnecessary #include from mpcdata.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-04 17:03:59 +01:00
Mans Rullgard
91b4941c17
musepack: remove extraneous mpcdata.h inclusions
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-04 17:03:59 +01:00
Mans Rullgard
d0989bed22
Fix error check in av_file_map()
...
On failure, mmap() returns MAP_FAILED, which may or may not be -1.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-04 17:03:25 +01:00
Mans Rullgard
dc6632f119
build: simplify commands for clean target
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-03 19:33:32 +01:00
Ronald S. Bultje
6af2801088
swscale: split swscale.c in unscaled and generic conversion routines.
...
This duplicates the function fillPlane().
2011-06-03 09:52:09 -07:00
Ronald S. Bultje
2762ee3034
swscale: cosmetics.
...
Remove duplicate "inC" and "_c" functions that do the same thing;
give each function that handles data and acts as a function pointer
a "_c" suffix; remove "_c" suffix from functions that are inherently
not optimizable. Remove inline keyword from functions that are only
used through function pointers.
2011-06-03 09:52:09 -07:00
Ronald S. Bultje
1674bd2abe
swscale: integrate (literally) swscale_template.c in swscale.c.
2011-06-03 09:52:09 -07:00
Ronald S. Bultje
983260b0a4
swscale: split out x86/swscale_template.c from swscale.c.
2011-06-03 09:52:09 -07:00
Ronald S. Bultje
075d0ae72c
swscale: enable hScale_altivec_real.
2011-06-03 09:52:09 -07:00
Ronald S. Bultje
67d80a5421
swscale: split out ppc _template.c files from main swscale.c.
2011-06-03 09:52:09 -07:00
Ronald S. Bultje
a3e9bb5dee
swscale: remove indirections in ppc/swscale_template.c.
2011-06-03 09:52:09 -07:00
Ronald S. Bultje
0e5d31b16b
swscale: split out unscaled altivec YUV converters in their own file.
2011-06-03 09:52:09 -07:00
Ronald S. Bultje
83a8b3002f
mpegvideoenc: fix multislice fate tests with threading disabled.
...
The MPEG encoding code assumes that n_threads == n_slices, and thus it
should use n_slices even if threading itself is disabled.
2011-06-03 09:52:09 -07:00
Diego Biurrun
43b6c3eb18
mpegts: Wrap #ifdef DEBUG and av_hex_dump_log() combination in a macro.
2011-06-03 15:43:34 +02:00
Diego Biurrun
a5514a8474
build: Simplify texi2html invocation through the --output option.
...
The --output option is available in texi2html since at least version 1.78.
2011-06-03 15:43:05 +02:00
Mans Rullgard
5e1166b31b
Mark some variables with av_unused
...
Most of these variables are only used in av_dlog statements, some
are required but not used by other macros.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-03 12:59:05 +01:00
Stefano Sabatini
94bed8e582
Replace avcodec_get_pix_fmt_name() by av_get_pix_fmt_name().
...
This fixes warnings about avcodec_get_pix_fmt_name() being deprecated.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-06-03 13:55:55 +02:00
Baptiste Coudurier
93d06bd1df
svq3: Check negative mb_type to fix potential crash.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-06-03 13:55:55 +02:00
Baptiste Coudurier
8dfc6d1f7c
svq3: Move svq3-specific fields to their own context.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-06-03 13:55:54 +02:00
Anton Khirnov
1f94c31f69
rawdec: initialize return value to 0.
2011-06-03 13:51:43 +02:00
Vladimir Pantelic
c1dfb72d35
Remove unused get_psnr() prototype
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-03 11:49:32 +01:00
Anton Khirnov
a606aa7570
rawdec: don't leak option strings.
2011-06-03 08:11:17 +02:00
Anton Khirnov
bd7c1d35a6
bktr: get default framerate from video standard.
2011-06-03 08:11:05 +02:00
Ronald S. Bultje
0d793db1b0
swscale: remove unused COMPILE_TEMPLATE_ALTIVEC.
2011-06-02 21:29:59 -07:00
Diego Biurrun
f190f676bc
Replace custom DEBUG preprocessor trickery by the standard one.
2011-06-03 00:44:06 +02:00
Diego Biurrun
068aa38712
vorbis: Remove non-compiling debug statement.
2011-06-03 00:44:05 +02:00
Diego Biurrun
ec6313ad86
vorbis: Remove pointless DEBUG #ifdef around debug output macros.
2011-06-03 00:44:04 +02:00
Diego Biurrun
fb52cf8267
cook: Remove non-compiling debug output.
...
random_state was changed from an int to a struct and can no longer be printed
as easily as before.
2011-06-03 00:44:04 +02:00
Diego Biurrun
0fc9c6554e
Remove pointless #ifdefs around function declarations in a header.
2011-06-03 00:44:04 +02:00
Diego Biurrun
2366462429
Replace #ifdef + av_log() combinations by av_dlog().
2011-06-03 00:44:03 +02:00
Diego Biurrun
df96f22d8f
Replace custom debug output functions by av_dlog().
2011-06-03 00:44:03 +02:00
Diego Biurrun
752207e36b
cook: Remove unused debug functions.
2011-06-03 00:43:56 +02:00