Reimar Döffinger
d07950f774
Autodetect PowerPC vs. PowerPC64.
...
This is the same code as for x86_64.
This is necessary because uname returns PPC64 if the hardware
is 64 bit, however the userland can still be fully 32 bit.
In that case FFmpeg fails to compile because some macros in the
asm code are set up incorrectly.
For details see https://bugs.gentoo.org/show_bug.cgi?id=341235
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2011-09-01 22:55:51 +02:00
Reimar Döffinger
177aec1257
Do not free BITMAPINFOHEADER before we are done using it.
...
Fixes trac ticket #396 .
Completely untested.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2011-09-01 22:54:35 +02:00
Reimar Döffinger
5e2ea138b7
MJPEG: emulate EOI also on two consecutive SOI.
...
Fixes issue #362 .
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2011-09-01 22:54:35 +02:00
Reimar Döffinger
55a1fe7a80
Reset cur_scan at more appropriate places.
...
Reset it when we actually process an EOI, not when we actually
decide to ignore it for bug-workarounds, and reset it on
SOF to make it more reliable in case of missing EOI.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2011-09-01 22:54:35 +02:00
Clément Bœsch
d5d7de7671
ffprobe: directly use va args in print fmt callbacks.
2011-09-01 22:15:06 +02:00
Michael Niedermayer
58677d73ed
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
avconv: fix some bugs introduced in 630902a1e1
libmp3lame: fix typo
AVOptions: drop av_ prefix from static av_get_number().
libx264: use X264_THREADS_AUTO constant instead of 0.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-01 22:08:44 +02:00
Clément Bœsch
acc3c380cb
resample: fix typo (ouput → output).
2011-09-01 20:25:32 +02:00
Clément Bœsch
f738388bba
Makefile: remove unused PROGS_G.
2011-09-01 20:23:40 +02:00
Clément Bœsch
33d9077001
build: introduce --progs-suffix option.
2011-09-01 20:23:40 +02:00
Clément Bœsch
3dd2c8bbbc
wav: init st to NULL to avoid a false-positive warning.
...
If st is NULL, it means no 'fmt ' tag is found, but 'data' tag (which
needs a previous 'fmt ' tag to be parsed correctly and st initialized)
check will make sure st is never dereferenced in that case.
2011-09-01 20:23:40 +02:00
Clément Bœsch
0baf651bc1
cmdutils: fix uninitialized variable (type) warning.
2011-09-01 20:23:40 +02:00
Clément Bœsch
7c14c24250
sws: fix a huge amount of incompatible pointer type arguments warnings.
2011-09-01 20:23:40 +02:00
Clément Bœsch
df8737eb35
ffmpeg: fix two unused variables warnings.
2011-09-01 20:23:40 +02:00
Clément Bœsch
b85e9d3104
resample: fix set but unused variable (lfe) warning.
2011-09-01 20:23:40 +02:00
Clément Bœsch
f067d8a618
imgconvert: avoid mixed declarations and code.
2011-09-01 20:23:40 +02:00
Carl Eugen Hoyos
c0e8bce349
Fix compilation with --disable-avfilter.
...
Fixes ticket #425 .
2011-09-01 19:03:39 +02:00
Gavin Kinsey
2f870e262e
jpegdec: set color_range
2011-09-01 16:18:22 +02:00
Michael Niedermayer
6248694861
avconv: fix some bugs introduced in 630902a1e1
...
These caused scrambled error messages to be printed and
floating point exceptions.
For example when there was no decoder available for a
stream.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-09-01 11:04:13 +02:00
Anton Khirnov
9bc9188e58
libmp3lame: fix typo
...
FF_API_LAME_GLOBAL_OPTIONS => FF_API_LAME_GLOBAL_OPTS
Thanks to Clément Bœsch for spotting.
2011-09-01 10:37:19 +02:00
Anton Khirnov
bea5670a4f
AVOptions: drop av_ prefix from static av_get_number().
2011-09-01 10:37:04 +02:00
Anton Khirnov
1440037411
libx264: use X264_THREADS_AUTO constant instead of 0.
2011-09-01 10:12:30 +02:00
Michael Niedermayer
3584b01e4e
ffmpeg: Fix typos introduced in:
...
commit 630902a1e1
Author: Anton Khirnov <anton@khirnov.net>
Date: Wed Jul 6 08:49:07 2011 +0200
avconv: factor out initializing input streams.
These caused scrambled error messages to be printed and
floating point exceptions.
For example when there was no decoder available for a
stream
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-01 04:17:23 +02:00
Michael Niedermayer
a538e0f9a0
vc1: loose one line difference to qatar.
...
This should make no functional difference.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-01 02:38:56 +02:00
Michael Niedermayer
f5bda9fcbb
mpeg4: fix typo in mpeg4_encode_gop_header()
...
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-01 02:22:36 +02:00
Diego Biurrun
aebb56e184
Replace some commented-out debug printf() / av_log() messages with av_dlog().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-01 01:31:03 +02:00
Michael Niedermayer
8c6fde8c17
APIchanges: remove "deprecate url_feof"
...
url_feof() is usefull when a file is appended to
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-01 01:18:56 +02:00
Michael Niedermayer
0ed7bc49a3
Merge remote-tracking branch 'qatar/master'
...
* qatar/master: (31 commits)
libx264: set default thread count to 0 (auto)
lavc: cosmetics, group deprecated codec flags
mpeg12: add 'scan_offset' private option.
h263/p encoder: add 'structured_slices' private option.
h263/p encoder: add 'obmc' private option.
h263p encoder: add 'aiv' private option.
h263p encoder: add 'umv' private option.
mpeg12enc/mpeg4videoenc: add 'alternate_scan' private option.
mjpegdec: add 'extern_huff' private option.
mpeg4enc: add 'data_partitioning' private option.
snow: add 'memc_only' private option.
libx264: add 'mbtree' private option.
libx264: add 'psy' private option.
libmp3lame: add 'reservoir' private option.
mpeg2enc: add 'non_linear_quant' private option
mpeg12enc: add drop_frame_timecode private option.
mpeg12enc: add intra_vlc private option.
VC1: Support dynamic dimension changes
mjpeg: treat external huffman table setup failure as codec init failure if external huffman table use requested
lavc: deprecate CODEC_FLAG2_BRDO
...
Conflicts:
avconv.c
libavcodec/libmp3lame.c
libavcodec/libx264.c
libavcodec/mjpegdec.c
libavcodec/mpeg12enc.c
libavcodec/mpegvideo.h
libavcodec/vc1.c
libavcodec/vc1dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-09-01 00:01:21 +02:00
Anton Khirnov
5d06f15235
libx264: set default thread count to 0 (auto)
2011-08-31 17:39:13 +02:00
Stefano Sabatini
a9c69362ea
vsink_buffer: fix void pointer dereference in av_vsink_buffer_get_video_buffer_ref()
2011-08-31 16:27:33 +02:00
Stefano Sabatini
6da590d0a5
lavdev/lavfi: add debug traces in lavfi_read_packet()
2011-08-31 16:27:27 +02:00
Stefano Sabatini
22ee131e85
vf_yadif: add support to yuva420p
2011-08-31 16:11:26 +02:00
Anton Khirnov
f013cb8118
lavc: cosmetics, group deprecated codec flags
2011-08-31 13:28:54 +02:00
Anton Khirnov
aed7900704
mpeg12: add 'scan_offset' private option.
...
Deprecate CODEC_FLAG_SVCD_SCAN_OFFSET
2011-08-31 13:28:41 +02:00
Anton Khirnov
4bcee8e7f8
h263/p encoder: add 'structured_slices' private option.
...
Deprecate CODEC_FLAG_H263P_SLICE_STRUCT
2011-08-31 13:28:26 +02:00
Anton Khirnov
0d904de89d
h263/p encoder: add 'obmc' private option.
...
Deprecate CODEC_FLAG_OBMC
2011-08-31 13:28:11 +02:00
Anton Khirnov
e3922d1110
h263p encoder: add 'aiv' private option.
...
Deprecate CODEC_FLAG_H263P_AIV
2011-08-31 13:27:59 +02:00
Anton Khirnov
9bb2d1a3f0
h263p encoder: add 'umv' private option.
...
Deprecate CODEC_FLAG_H263P_UMV
2011-08-31 13:27:36 +02:00
Anton Khirnov
0e5d37309f
mpeg12enc/mpeg4videoenc: add 'alternate_scan' private option.
...
Deprecate CODEC_FLAG_ALT_SCAN
2011-08-31 13:26:26 +02:00
Anton Khirnov
1f0c7020a1
mjpegdec: add 'extern_huff' private option.
...
Deprecate CODEC_FLAG_EXTERN_HUFF
2011-08-31 13:25:54 +02:00
Anton Khirnov
4623420d84
mpeg4enc: add 'data_partitioning' private option.
...
Deprecate CODEC_FLAG_PART
2011-08-31 13:25:18 +02:00
Anton Khirnov
0cc06b9e23
snow: add 'memc_only' private option.
...
Deprecate CODEC_FLAG2_MEMC_ONLY
2011-08-31 13:24:16 +02:00
Anton Khirnov
0dc5e12f1e
libx264: add 'mbtree' private option.
...
Deprecate CODEC_FLAG2_MBTREE
2011-08-31 13:24:02 +02:00
Anton Khirnov
38934f19fe
libx264: add 'psy' private option.
...
Deprecate CODEC_FLAG2_PSY
2011-08-31 13:23:37 +02:00
Anton Khirnov
a7cec3a094
libmp3lame: add 'reservoir' private option.
...
Deprecate CODEC_FLAG2_BIT_RESERVOIR
2011-08-31 13:22:53 +02:00
Anton Khirnov
88262ca87d
mpeg2enc: add 'non_linear_quant' private option
...
Deprecate CODEC_FLAG2_NON_LINEAR_QUANT
2011-08-31 13:21:59 +02:00
Anton Khirnov
2c5e1efc09
mpeg12enc: add drop_frame_timecode private option.
...
Deprecate CODEC_FLAG2_DROP_FRAME_TIMECODE
2011-08-31 13:21:05 +02:00
Anton Khirnov
297d9cb3dc
mpeg12enc: add intra_vlc private option.
...
Deprecate CODEC_FLAG2_INTRA_VLC.
2011-08-31 13:19:14 +02:00
Alberto Delmás
d2f119a1f2
VC1: Support dynamic dimension changes
...
Fixes SA00072, SA00073, SA10150, SA10151, Issue2076
Improves SA10153
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-08-31 13:11:23 +02:00
Dustin Brody
a18e04bcf9
mjpeg: treat external huffman table setup failure as codec init failure if external huffman table use requested
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-08-31 10:28:29 +02:00
Anton Khirnov
7485e54708
lavc: deprecate CODEC_FLAG2_BRDO
...
It's been unused for the last 3 years.
2011-08-31 10:26:21 +02:00