Ronald S. Bultje
e64bceeac0
configure: Check for sys/time.h
...
Apparently this include is needed on some systems for building the
poll fallback (for the timeval struct for select?), but it isn't
available on all systems. Thus only include it if it exists.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-26 17:22:21 +03:00
Martin Storsjö
39dba5aa1b
network: Include unistd.h from network.h
...
This heaader is required for close() for sockets in network
code. For winsock, the equivalent function is defined in the
winsock2.h header.
This avoids having the HAVE_UNISTD_H in all files dealing with
raw sockets.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-26 17:22:21 +03:00
Mans Rullgard
37c3864ef7
x86: fft: elf64: fix PIC build
...
In a 64-bit PIC build, external functions must be called
through the PLT.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-06-26 15:57:32 +02:00
Nicolas George
d4c45b8adf
Revert "Revert "x86: fft: win64: fix stack alignment for memcpy() call""
...
This reverts commit f767658414
.
The bug it introduces has been fixed.
2012-06-26 15:56:01 +02:00
Nicolas George
91765594dd
Revert "Revert "x86: fft: convert sse inline asm to yasm""
...
This reverts commit fd91a3ec44
.
The bug it introduced has been fixed.
2012-06-26 15:55:41 +02:00
Anton Khirnov
b8c632a720
avconv: don't include vsrc_buffer.h, which doesn't exist anymore
2012-06-26 14:33:01 +02:00
Anton Khirnov
83ba22392d
lavfi: reorder AVFilterLink fields.
...
Move private fields to the private section, remove holes.
2012-06-26 13:25:13 +02:00
Anton Khirnov
f892013ac4
lavfi: reorder AVFilterContext fields.
...
Place related fields together, remove holes.
2012-06-26 13:24:36 +02:00
Anton Khirnov
9618080512
lavfi: reorder AVFilter fields.
...
Place related fields together, remove holes, move private fields to the
end and mark them as private.
2012-06-26 13:23:51 +02:00
Anton Khirnov
f14e685609
lavfi: reorder AVFilterBufferRef fields.
...
Place related fields together, remove holes.
2012-06-26 13:23:50 +02:00
Anton Khirnov
cb81e29138
lavfi: reorder AVFilterBuffer fields.
...
Place related fields together, remove holes.
2012-06-26 13:23:50 +02:00
Anton Khirnov
1961e46c15
lavfi: remove disabled FF_API_FILTERS_PUBLIC cruft
2012-06-26 13:20:19 +02:00
Anton Khirnov
5e88b96f37
lavfi: remove disabled FF_API_DEFAULT_CONFIG_OUTPUT_LINK cruft
2012-06-26 13:18:44 +02:00
Anton Khirnov
205e90249a
lavfi: use proper FF_API guards for different deprecated functions
2012-06-26 13:17:31 +02:00
Nicolas George
784675ca91
sink_buffer: make opaque argument optional.
2012-06-26 13:17:30 +02:00
Nicolas George
a2bd8a9384
buffersink: group libav API functions.
2012-06-26 13:17:29 +02:00
Anton Khirnov
0b3b958135
lavfi: remove disabled FF_API_VSRC_BUFFER_ADD_FRAME cruft
2012-06-26 13:15:26 +02:00
Anton Khirnov
6c1e065bd4
lavfi: remove disabled FF_API_SAMPLERATE64 cruft
2012-06-26 13:15:14 +02:00
Anton Khirnov
8d900aa4d0
lavfi: remove disabled FF_API_GRAPH_AVCLASS cruft
2012-06-26 13:14:59 +02:00
Anton Khirnov
a5e8c41c28
lavfi: remove 'opaque' parameter from AVFilter.init()
...
It is not used in any filters currently and is inherently evil. If
passing binary data to filters is required in the future, it should be
done with some AVOptions-based system.
2012-06-26 13:13:48 +02:00
Carl Eugen Hoyos
fbcaceb1ff
mov: do not try to read total disc/track number if data atom is too short.
...
Fixes bug 308.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-06-26 13:12:50 +02:00
Stefano Sabatini
e6674e46ec
lavu/imgutils: create misc functions for dealing with buffers
...
Move the lavc/imgconvert functions and rename them as follows:
avpicture_get_size -> av_image_get_buffer_size()
avpicture_fill -> av_image_fill_arrays()
avpicture_layout -> av_image_copy_to_buffer()
The new functions have an align parameter, which allows to define the
linesize alignment assumed in the buffer (which is set or read).
The names of the functions are consistent with the lavu/samples API
(av_samples_get_buffer_size(), av_samples_fill_arrays()).
2012-06-26 13:12:12 +02:00
Anton Khirnov
19ad567311
avconv: fix -force_key_frames
...
parse_forced_keyframes() relies in encoder timebase being set, so call
it from transcode_init() after it is known.
2012-06-26 13:10:33 +02:00
Nicolas George
fd91a3ec44
Revert "x86: fft: convert sse inline asm to yasm"
...
This reverts commit 8299260470
.
It breaks shared builds on x86_64.
2012-06-26 13:00:14 +02:00
Nicolas George
f767658414
Revert "x86: fft: win64: fix stack alignment for memcpy() call"
...
This reverts commit 8725da49a2
.
Necerrary to revert 8299260470
.
2012-06-26 12:59:48 +02:00
Stefano Sabatini
79a7451d06
ffplay: add configure_filtergraph() helper
...
Will help factorization with the pending -af patch, and add some checks
missing in the original code.
2012-06-26 11:42:51 +02:00
Stefano Sabatini
720ec62012
lavfi: drop deprecated and disabled packing API
...
It was deprecated and removed after the recent 2->3 major bump.
2012-06-26 11:40:21 +02:00
Stefano Sabatini
8dd0e87d7b
lavfi: remove old video sink API
...
It was deprecated since a long time and removed after the 2->3 major
bump.
2012-06-26 11:40:08 +02:00
Stefano Sabatini
f054dbee6c
tools/graph2dot: make dot graph representation a bit more compact
2012-06-26 11:34:38 +02:00
Hendrik Leppkes
ea1c5011b3
dxva2_h264: fix signaling of mbaff frames
...
The MBAFF flag may only be signaled if we're actually dealing with
a full frame, and not singular fields, as it can happen in mixed content.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-26 11:59:24 +03:00
Carl Eugen Hoyos
6eff277284
Make LucasArts Smush SANM palette opaque.
...
Reviewed-by: Paul B Mahol
2012-06-26 09:54:30 +02:00
Carl Eugen Hoyos
c77bcbbb32
Signal MSS1 palette change.
...
Reviewed-by: Paul B Mahol
2012-06-26 09:30:27 +02:00
Michael Niedermayer
3b0ad040b3
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
log: Include io.h on windows
lavr: x86: merge some branches
x86: cpu: whitespace (mostly) cosmetics
x86: fft: win64: fix stack alignment for memcpy() call
Conflicts:
libavutil/log.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-26 01:13:07 +02:00
yang
9b72041f80
x86/intmath.h: Fix mull operand constraints
...
Fixes Ticket1466
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-26 01:08:35 +02:00
Paul B Mahol
e3c2670539
mss1: check number of free colours
...
Prevents out of array write.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-06-25 23:07:18 +00:00
Michael Niedermayer
8a0cd58729
sonic: fix FPE
...
Fixes Ticket1397
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-26 00:38:05 +02:00
Mans Rullgard
0595334892
x86: fft: elf64: fix PIC build
...
In a 64-bit PIC build, external functions must be called
through the PLT.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-06-25 22:58:18 +01:00
Michael Niedermayer
dc30c27eb1
h264_parser: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-25 23:10:45 +02:00
Michael Niedermayer
cd6aa95caa
h264_loopfilter: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-25 23:10:45 +02:00
Stefano Sabatini
9b41ec4b9e
lavfi/drawtext: use av_opt_free() to free private context
...
Simplify code.
2012-06-25 22:49:16 +02:00
Stefano Sabatini
6be8cfa034
lavfi/abuffer: increase logging level of the log showing initial parameters
...
Also show them in a more parsable/consistent fashion.
2012-06-25 22:49:16 +02:00
Stefano Sabatini
8a3544149f
lavfi/avfilter.h: reorganize headers disposition
...
Group lavfi headers together, slightly improve readability.
2012-06-25 22:49:09 +02:00
Ronald S. Bultje
246154a9af
log: Include io.h on windows
...
This is required for isatty, which exists on MSVC and is found by
configure, but is provided by io.h instead of unistd.h.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-25 23:28:36 +03:00
Carl Eugen Hoyos
bec21ce7f4
Make MSS1 palette opaque.
2012-06-25 21:16:06 +02:00
Justin Ruggles
14a34d90ad
lavr: x86: merge some branches
2012-06-25 13:49:18 -04:00
Paul B Mahol
ebfcd6049f
doc/general: fix output
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-06-25 17:36:57 +00:00
Mans Rullgard
963cdf39b4
x86: cpu: whitespace (mostly) cosmetics
...
This adds whitespace around operators, aligns line continuation
backslashes, and breaks long lines. Also fixes an ifdef halfway
through a statement. The one line of duplication this saved is
not worth the ugliness.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-06-25 16:24:31 +01:00
Michael Niedermayer
a6ff8514a9
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
wtv: Check the return value from gmtime
x86: fft: convert sse inline asm to yasm
x86: place some inline asm under #if HAVE_INLINE_ASM
Conflicts:
libavcodec/x86/fft_sse.c
libavformat/wtv.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-25 16:55:31 +02:00
Mans Rullgard
8725da49a2
x86: fft: win64: fix stack alignment for memcpy() call
2012-06-25 15:10:39 +01:00
Martin Storsjö
dc53858063
wtv: Check the return value from gmtime
...
On MSVC, gmtime returns NULL for values outside of their supported
range (and these show up in our fate test). This doesn't seem
to affect the actual fate test result.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-25 16:20:08 +03:00