ffmpeg.git
7 years agolavf/apetag: move common stuff between writer and reader to single file
Paul B Mahol [Sun, 29 Jul 2012 02:17:57 +0000 (02:17 +0000)]
lavf/apetag: move common stuff between writer and reader to single file

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agodoc/general: add missed WavPack muxing support information
Paul B Mahol [Sun, 29 Jul 2012 02:26:09 +0000 (02:26 +0000)]
doc/general: add missed WavPack muxing support information

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agolavf/smacker: remove bogus video from .long_name
Paul B Mahol [Sun, 29 Jul 2012 02:22:09 +0000 (02:22 +0000)]
lavf/smacker: remove bogus video from .long_name

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agowvenc: support for ape tags
Paul B Mahol [Fri, 27 Jul 2012 09:42:46 +0000 (09:42 +0000)]
wvenc: support for ape tags

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agoAPE tag writer
Paul B Mahol [Wed, 8 Feb 2012 23:58:17 +0000 (23:58 +0000)]
APE tag writer

7 years agoWavPack muxer
Paul B Mahol [Mon, 6 Feb 2012 19:50:09 +0000 (19:50 +0000)]
WavPack muxer

7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 28 Jul 2012 23:56:31 +0000 (01:56 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (35 commits)
  h264_idct_10bit: port x86 assembly to cpuflags.
  x86inc: clip num_args to 7 on x86-32.
  x86inc: sync to latest version from x264.
  fft: rename "z" to "zc" to prevent name collision.
  wv: return meaningful error codes.
  wv: return AVERROR_EOF on EOF, not EIO.
  mp3dec: forward errors for av_get_packet().
  mp3dec: remove a pointless local variable.
  mp3dec: remove commented out cruft.
  lavfi: bump minor to mark stabilizing the ABI.
  FATE: add tests for yadif.
  FATE: add a test for delogo video filter.
  FATE: add a test for amix audio filter.
  audiogen: allow specifying random seed as a commandline parameter.
  vc1dec: Override invalid macroblock quantizer
  vc1: avoid reading beyond the last line in vc1_draw_sprites()
  vc1dec: check that coded slice positions and interlacing match.
  vc1dec: Do not ignore ff_vc1_parse_frame_header_adv return value
  configure: Move parts that should not be user-selectable to CONFIG_EXTRA
  lavf: remove commented out cruft in avformat_find_stream_info()
  ...

Conflicts:
Makefile
configure
libavcodec/vc1dec.c
libavcodec/x86/h264_deblock.asm
libavcodec/x86/h264_deblock_10bit.asm
libavcodec/x86/h264dsp_mmx.c
libavfilter/version.h
libavformat/mp3dec.c
libavformat/utils.c
libavformat/wv.c
libavutil/x86/x86inc.asm

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agofaq: suggest the concat filter.
Nicolas George [Mon, 23 Jul 2012 13:02:57 +0000 (15:02 +0200)]
faq: suggest the concat filter.

7 years agofaq: disambiguate "join".
Nicolas George [Mon, 23 Jul 2012 12:35:10 +0000 (14:35 +0200)]
faq: disambiguate "join".

7 years agoffmpeg: allow using the r_frame_rate as fundamental timebase for stream copy in avi
Michael Niedermayer [Sat, 28 Jul 2012 15:43:14 +0000 (17:43 +0200)]
ffmpeg: allow using the r_frame_rate as fundamental timebase for stream copy in avi

Fixes Ticket1434

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoh264_idct_10bit: port x86 assembly to cpuflags.
Ronald S. Bultje [Sat, 28 Jul 2012 15:01:12 +0000 (08:01 -0700)]
h264_idct_10bit: port x86 assembly to cpuflags.

7 years agox86inc: clip num_args to 7 on x86-32.
Loren Merritt [Fri, 27 Jul 2012 16:33:41 +0000 (09:33 -0700)]
x86inc: clip num_args to 7 on x86-32.

This allows us to unconditionally set the cglobal num_args
parameter to a bigger value, thus making writing yasm code
even easier than before.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
7 years agox86inc: sync to latest version from x264.
Ronald S. Bultje [Fri, 27 Jul 2012 03:26:17 +0000 (20:26 -0700)]
x86inc: sync to latest version from x264.

7 years agofft: rename "z" to "zc" to prevent name collision.
Ronald S. Bultje [Sat, 28 Jul 2012 15:20:19 +0000 (08:20 -0700)]
fft: rename "z" to "zc" to prevent name collision.

Without this, cglobal will expand "z" to "zh" to access the high byte
in a register's word, which causes a name collision with the ZH(x) macro
further up in this file.

7 years agoffmpeg: add code to perform ts wrap correction
Michael Niedermayer [Sat, 28 Jul 2012 14:55:12 +0000 (16:55 +0200)]
ffmpeg: add code to perform ts wrap correction

Fixes ticket1385

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agofate: switch rsync to fate-suite.ffmpeg.org
Michael Niedermayer [Sat, 28 Jul 2012 02:26:23 +0000 (04:26 +0200)]
fate: switch rsync to fate-suite.ffmpeg.org

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavf_concat: fix silence duration.
Nicolas George [Sat, 28 Jul 2012 12:57:52 +0000 (14:57 +0200)]
avf_concat: fix silence duration.

concat_in.pts starts at 0 for each segment, so the duration
of the silence was too long, except at the first stitch.

7 years agoasrc_flite: do not crash on multiple instances.
Nicolas George [Sat, 28 Jul 2012 09:53:18 +0000 (11:53 +0200)]
asrc_flite: do not crash on multiple instances.

The voice register functions return the same voice structure
upon multiple registration. It causes us two problems:

If we delete a voice without deregistering it, it leaves
a dangling pointer inside the library.

If we delete or unregister a voice at uninit, it may still
be in use by another instance of the filter.

The second problem is solved by keeping an usage counter inside
asrc_flite. This is not thread-safe, but neither is flite itself.

7 years agowv: return meaningful error codes.
Anton Khirnov [Sat, 28 Jul 2012 10:28:05 +0000 (12:28 +0200)]
wv: return meaningful error codes.

7 years agowv: return AVERROR_EOF on EOF, not EIO.
Anton Khirnov [Sat, 28 Jul 2012 10:23:04 +0000 (12:23 +0200)]
wv: return AVERROR_EOF on EOF, not EIO.

7 years agomp3dec: forward errors for av_get_packet().
Anton Khirnov [Sat, 28 Jul 2012 10:21:21 +0000 (12:21 +0200)]
mp3dec: forward errors for av_get_packet().

Don't invent a bogus EIO error.

The code now doesn't check for ret == 0, but that check is redundant,
av_get_packet() never returns 0.

7 years agomp3dec: remove a pointless local variable.
Anton Khirnov [Sat, 28 Jul 2012 10:20:08 +0000 (12:20 +0200)]
mp3dec: remove a pointless local variable.

7 years agomp3dec: remove commented out cruft.
Anton Khirnov [Sat, 28 Jul 2012 10:18:51 +0000 (12:18 +0200)]
mp3dec: remove commented out cruft.

7 years agolavfi: bump minor to mark stabilizing the ABI.
Anton Khirnov [Wed, 25 Jul 2012 06:34:44 +0000 (08:34 +0200)]
lavfi: bump minor to mark stabilizing the ABI.

7 years agoFATE: add tests for yadif.
Anton Khirnov [Wed, 25 Jul 2012 06:25:38 +0000 (08:25 +0200)]
FATE: add tests for yadif.

7 years agoFATE: add a test for delogo video filter.
Anton Khirnov [Mon, 9 Jul 2012 10:09:58 +0000 (12:09 +0200)]
FATE: add a test for delogo video filter.

7 years agoFATE: add a test for amix audio filter.
Anton Khirnov [Tue, 29 May 2012 10:08:58 +0000 (12:08 +0200)]
FATE: add a test for amix audio filter.

7 years agoaudiogen: allow specifying random seed as a commandline parameter.
Anton Khirnov [Wed, 4 Jul 2012 04:32:30 +0000 (06:32 +0200)]
audiogen: allow specifying random seed as a commandline parameter.

7 years agovc1dec: Override invalid macroblock quantizer
Michael Niedermayer [Sat, 28 Jul 2012 12:07:45 +0000 (18:07 +0600)]
vc1dec: Override invalid macroblock quantizer

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
7 years agovc1: avoid reading beyond the last line in vc1_draw_sprites()
Michael Niedermayer [Sat, 28 Jul 2012 10:27:55 +0000 (16:27 +0600)]
vc1: avoid reading beyond the last line in vc1_draw_sprites()

Fixes overread

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
7 years agovc1dec: check that coded slice positions and interlacing match.
Michael Niedermayer [Sat, 28 Jul 2012 11:14:50 +0000 (17:14 +0600)]
vc1dec: check that coded slice positions and interlacing match.

This fixes out of array writes

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
7 years agovc1dec: Do not ignore ff_vc1_parse_frame_header_adv return value
Michael Niedermayer [Sat, 28 Jul 2012 11:14:48 +0000 (17:14 +0600)]
vc1dec: Do not ignore ff_vc1_parse_frame_header_adv return value

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
7 years agodoc/general: add missing device support information
Stefano Sabatini [Sat, 28 Jul 2012 09:08:42 +0000 (11:08 +0200)]
doc/general: add missing device support information

7 years agoavf_concat: fix min value for v option.
Nicolas George [Sat, 28 Jul 2012 09:48:14 +0000 (11:48 +0200)]
avf_concat: fix min value for v option.

7 years agoconfigure: Move parts that should not be user-selectable to CONFIG_EXTRA
Diego Biurrun [Fri, 27 Jul 2012 00:06:29 +0000 (02:06 +0200)]
configure: Move parts that should not be user-selectable to CONFIG_EXTRA

7 years agolavfi: add flite audio source
Stefano Sabatini [Sun, 21 Aug 2011 00:29:33 +0000 (02:29 +0200)]
lavfi: add flite audio source

7 years agodoc/filters: itemize movie examples
Stefano Sabatini [Mon, 23 Jul 2012 21:30:08 +0000 (23:30 +0200)]
doc/filters: itemize movie examples

7 years agolavfi: move movie and amovie to a "multimedia sources" section
Stefano Sabatini [Mon, 23 Jul 2012 21:21:33 +0000 (23:21 +0200)]
lavfi: move movie and amovie to a "multimedia sources" section

Since the recent changes, movie and amovie are able to deal with more
than one type of stream, so they should be categorized as "multimedia
sources" rather than audio/video sources.

7 years agolavu/bprint: extend/clarify documentation for av_bprint_init() size_max value
Stefano Sabatini [Thu, 26 Jul 2012 19:37:11 +0000 (21:37 +0200)]
lavu/bprint: extend/clarify documentation for av_bprint_init() size_max value

Also define AV_BPRINT_SIZE_* macros before av_bprint_init() declaration,
and mention them in the av_bprint_init() doxy.

7 years agolavf: remove commented out cruft in avformat_find_stream_info()
Anton Khirnov [Thu, 28 Jun 2012 11:33:12 +0000 (13:33 +0200)]
lavf: remove commented out cruft in avformat_find_stream_info()

7 years agoAdd missing libavutil/time.h includes.
Anton Khirnov [Fri, 27 Jul 2012 14:28:36 +0000 (16:28 +0200)]
Add missing libavutil/time.h includes.

7 years agompegaudiodec: switch to av_assert
Michael Niedermayer [Sat, 28 Jul 2012 02:25:02 +0000 (04:25 +0200)]
mpegaudiodec: switch to av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovp3: don't compile mmx IDCT functions on x86-64.
Ronald S. Bultje [Fri, 27 Jul 2012 05:16:37 +0000 (22:16 -0700)]
vp3: don't compile mmx IDCT functions on x86-64.

64-bit CPUs always have SSE2, and a SSE2 version exists, thus the MMX
version will never be used.

7 years agoh264_loopfilter: port x86 simd to cpuflags.
Ronald S. Bultje [Sat, 28 Jul 2012 00:45:30 +0000 (17:45 -0700)]
h264_loopfilter: port x86 simd to cpuflags.

7 years agodxva2: Fix some warnings about incompatible pointer type
jamal [Fri, 27 Jul 2012 08:23:13 +0000 (05:23 -0300)]
dxva2: Fix some warnings about incompatible pointer type

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agobuild: support non-standard replacements for -c flag
Mans Rullgard [Fri, 20 Jul 2012 22:43:27 +0000 (23:43 +0100)]
build: support non-standard replacements for -c flag

This allows non-standard replacements for the -c compiler flag.
Some compilers use other flags or no flag at all in place of
the usual one.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agobuild: support non-standard replacements for -E flag
Mans Rullgard [Fri, 20 Jul 2012 21:22:41 +0000 (22:22 +0100)]
build: support non-standard replacements for -E flag

This allows using non-standard flags for running the C preprocessor.
The -o flag must be included in this setting due to strange syntax
required by some compilers.

Set the correct flags for tms470.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoh264_chromamc_10bit: port x86 simd to cpuflags.
Ronald S. Bultje [Fri, 27 Jul 2012 03:43:50 +0000 (20:43 -0700)]
h264_chromamc_10bit: port x86 simd to cpuflags.

7 years agovp3: port x86 SIMD to cpuflags.
Ronald S. Bultje [Fri, 27 Jul 2012 22:17:27 +0000 (15:17 -0700)]
vp3: port x86 SIMD to cpuflags.

7 years agobuild: Use portable compiler flag constructs in header compilation rule
Diego Biurrun [Fri, 27 Jul 2012 10:06:01 +0000 (12:06 +0200)]
build: Use portable compiler flag constructs in header compilation rule

7 years agox11grab: cosmetics: consistent naming for x11grab-related things
Diego Biurrun [Sat, 21 Jul 2012 19:28:54 +0000 (21:28 +0200)]
x11grab: cosmetics: consistent naming for x11grab-related things

7 years agobuild: Rename YASMDEP variable to DEPYASM for consistency
Diego Biurrun [Wed, 25 Jul 2012 11:25:58 +0000 (13:25 +0200)]
build: Rename YASMDEP variable to DEPYASM for consistency

7 years agodvdsubenc: switch to av_assert
Michael Niedermayer [Fri, 27 Jul 2012 23:18:04 +0000 (01:18 +0200)]
dvdsubenc: switch to av_assert

we use av_assert0() because the previous code unconditionally
enabled the assert.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavio: Document that write_packet() is not allowed to change its input
Michael Niedermayer [Fri, 27 Jul 2012 23:15:48 +0000 (01:15 +0200)]
avio: Document that write_packet() is not allowed to change its input

Found-by: Reimar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agohls: Proceed to the next segment at any error code
Martin Storsjö [Fri, 27 Jul 2012 17:24:53 +0000 (20:24 +0300)]
hls: Proceed to the next segment at any error code

Previously, we returned any error code except AVERROR_EOF to the
caller - only if AVERROR_EOF or 0 was returned, we proceeded to
the next segment.

With some setups of web servers, using Connection: close in https
and GnuTLS, we don't get a clean error code at the end of segments.
In those cases, just proceed to the next segment.

Tested-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agotls: Return AVERROR_EOF if the TLS_read/write functions return 0
Martin Storsjö [Fri, 27 Jul 2012 17:22:51 +0000 (20:22 +0300)]
tls: Return AVERROR_EOF if the TLS_read/write functions return 0

OpenSSL returns 0 when the peer has closed the connection. GnuTLS
doesn't return that though, but returns
GNUTLS_E_UNEXPECTED_PACKET_LENGTH if the connection simply is closed
without a clean close notify packet.

Tested-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agorv34: port x86 SIMD to cpuflags.
Ronald S. Bultje [Fri, 27 Jul 2012 05:19:19 +0000 (22:19 -0700)]
rv34: port x86 SIMD to cpuflags.

7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 27 Jul 2012 21:42:19 +0000 (23:42 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  proresdsp: port x86 assembly to cpuflags.
  lavr: x86: improve non-SSE4 version of S16_TO_S32_SX macro
  lavfi: better channel layout negotiation
  alac: check for truncated packets
  alac: reverse lpc coeff order, simplify filter
  lavr: add x86-optimized mixing functions
  x86: add support for fmaddps fma4 instruction with abstraction to avx/sse
  tscc2: fix typo in array index
  build: use COMPILE template for HOSTOBJS
  build: do full flag handling for all compiler-type tools
  eval: fix printing of NaN in eval fate test.
  build: Rename aandct component to more descriptive aandcttables
  mpegaudio: bury inline asm under HAVE_INLINE_ASM.
  x86inc: automatically insert vzeroupper for YMM functions.
  rtmp: Check the buffer length of ping packets
  rtmp: Allow having more unknown data at the end of a chunk size packet without failing
  rtmp: Prevent reading outside of an allocate buffer when receiving server bandwidth packets

Conflicts:
Makefile
configure
libavcodec/x86/proresdsp.asm
libavutil/eval.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovp56: only compile MMX SIMD on x86-32.
Ronald S. Bultje [Fri, 27 Jul 2012 05:09:46 +0000 (22:09 -0700)]
vp56: only compile MMX SIMD on x86-32.

All x86-64 CPUs have SSE2, so the MMX version will never be used. This
leads to smaller binaries.

7 years agovp56: port x86 simd to cpuflags.
Ronald S. Bultje [Fri, 27 Jul 2012 05:07:29 +0000 (22:07 -0700)]
vp56: port x86 simd to cpuflags.

7 years agoimgutils: Fix warnings about incompatible pointer type and discarded qualifiers
jamal [Fri, 27 Jul 2012 08:23:15 +0000 (05:23 -0300)]
imgutils: Fix warnings about incompatible pointer type and discarded qualifiers

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoproresdsp: port x86 assembly to cpuflags.
Ronald S. Bultje [Fri, 27 Jul 2012 03:38:27 +0000 (20:38 -0700)]
proresdsp: port x86 assembly to cpuflags.

7 years agoFix aiff demuxer dependencies.
Carl Eugen Hoyos [Fri, 27 Jul 2012 18:42:35 +0000 (20:42 +0200)]
Fix aiff demuxer dependencies.

7 years agolavr: x86: improve non-SSE4 version of S16_TO_S32_SX macro
Justin Ruggles [Tue, 26 Jun 2012 20:50:10 +0000 (16:50 -0400)]
lavr: x86: improve non-SSE4 version of S16_TO_S32_SX macro

Removes a false dependency on existing contents of the 2nd dst register,
giving better performance for OOE.

7 years agolavfi: better channel layout negotiation
Justin Ruggles [Sat, 14 Jul 2012 00:22:08 +0000 (20:22 -0400)]
lavfi: better channel layout negotiation

Allow substitution of channel pairs in the input for nearby channel pairs in
the output in order to get a closer match. Also weigh LFE channel mismatch
differently to favor matching the same layout without LFE over one less
channel with LFE.

7 years agoalac: check for truncated packets
Justin Ruggles [Fri, 20 Jul 2012 00:04:40 +0000 (20:04 -0400)]
alac: check for truncated packets

This will give a clearer error message when the error is caused by a
truncated packet.

7 years agoalac: reverse lpc coeff order, simplify filter
Justin Ruggles [Thu, 19 Jul 2012 18:08:22 +0000 (14:08 -0400)]
alac: reverse lpc coeff order, simplify filter

Reversing the lpc coefficient order simplifies indexing in the filter.

7 years agodwt: Fix several warnings about incompatible pointer type
jamal [Fri, 27 Jul 2012 08:23:17 +0000 (05:23 -0300)]
dwt: Fix several warnings about incompatible pointer type

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavr: add x86-optimized mixing functions
Justin Ruggles [Mon, 7 May 2012 13:56:33 +0000 (09:56 -0400)]
lavr: add x86-optimized mixing functions

Adds optimized functions for mixing 3 through 8 input channels to 1 and 2
output channels in fltp or s16p format with flt coeffs.

7 years agox86: add support for fmaddps fma4 instruction with abstraction to avx/sse
Justin Ruggles [Tue, 19 Jun 2012 03:39:14 +0000 (23:39 -0400)]
x86: add support for fmaddps fma4 instruction with abstraction to avx/sse

7 years agovf_alphamerge: Fix reversed conditional
Steven Robertson [Fri, 27 Jul 2012 12:00:04 +0000 (14:00 +0200)]
vf_alphamerge: Fix reversed conditional

Reviewed-by: Nicolas George
7 years agoavutil: support 50 and 60 frame rates in timecode api
Matthieu Bouron [Sun, 27 May 2012 12:21:39 +0000 (14:21 +0200)]
avutil: support 50 and 60 frame rates in timecode api

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomxfdec: fix off by one error in d10 aes3 decoding
Marton Balint [Wed, 18 Jul 2012 23:23:20 +0000 (01:23 +0200)]
mxfdec: fix off by one error in d10 aes3 decoding

Without this fix the last sample was missing from the packet.

Signed-off-by: Marton Balint <cus@passwd.hu>
Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoaviobuf: Fix warning about discarded qualifier
jamal [Fri, 27 Jul 2012 08:23:23 +0000 (05:23 -0300)]
aviobuf: Fix warning about discarded qualifier

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agozmbv: Fix warning about discarded qualifier
Michael Niedermayer [Fri, 27 Jul 2012 10:43:15 +0000 (12:43 +0200)]
zmbv: Fix warning about discarded qualifier

Based on patch by: jamal <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffv1: Fix warnings about incompatible pointer type and discarded qualifiers
jamal [Fri, 27 Jul 2012 08:23:16 +0000 (05:23 -0300)]
ffv1: Fix warnings about incompatible pointer type and discarded qualifiers

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agotscc2: fix typo in array index
Kostya Shishkov [Thu, 26 Jul 2012 17:42:22 +0000 (19:42 +0200)]
tscc2: fix typo in array index

7 years agobuild: use COMPILE template for HOSTOBJS
Mans Rullgard [Fri, 20 Jul 2012 10:01:19 +0000 (11:01 +0100)]
build: use COMPILE template for HOSTOBJS

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agobuild: do full flag handling for all compiler-type tools
Mans Rullgard [Fri, 20 Jul 2012 12:43:07 +0000 (13:43 +0100)]
build: do full flag handling for all compiler-type tools

This adds a full identification probe of CC, AS, LD and HOSTCC,
and sets up correct flags and dependency tracking for each.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoeval: fix printing of NaN in eval fate test.
Ronald S. Bultje [Thu, 26 Jul 2012 03:42:04 +0000 (20:42 -0700)]
eval: fix printing of NaN in eval fate test.

This fixes "make fate-eval" on MSVC builds. Without this, the test outputs
"-1.#NaN" instead of "nan" on MSVS 2010.

7 years agobuild: Rename aandct component to more descriptive aandcttables
Diego Biurrun [Tue, 24 Jul 2012 17:16:29 +0000 (19:16 +0200)]
build: Rename aandct component to more descriptive aandcttables

7 years agofate: change fate-suite rsync server.
Michael Niedermayer [Thu, 26 Jul 2012 21:01:25 +0000 (23:01 +0200)]
fate: change fate-suite rsync server.

there are some technical problems with fate.ffmpeg.org
thus split the subdomain between fate-suite and fate
fate-suite is now (temporary) provided by our main server

until fate-suite.ffmpeg.org is setup to point somewhere
we use fate-suite.avcodec.org

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agompegaudio: bury inline asm under HAVE_INLINE_ASM.
Ronald S. Bultje [Thu, 26 Jul 2012 03:32:58 +0000 (20:32 -0700)]
mpegaudio: bury inline asm under HAVE_INLINE_ASM.

7 years agox86inc: automatically insert vzeroupper for YMM functions.
Ronald S. Bultje [Thu, 26 Jul 2012 03:52:16 +0000 (20:52 -0700)]
x86inc: automatically insert vzeroupper for YMM functions.

7 years agoSubViewer demuxer and decoder.
Clément Bœsch [Fri, 13 Jul 2012 21:42:35 +0000 (23:42 +0200)]
SubViewer demuxer and decoder.

7 years agolavc/rt: small wording fix in a comment.
Clément Bœsch [Thu, 19 Jul 2012 19:16:11 +0000 (21:16 +0200)]
lavc/rt: small wording fix in a comment.

7 years agortmp: Check the buffer length of ping packets
Samuel Pitoiset [Thu, 26 Jul 2012 18:45:42 +0000 (20:45 +0200)]
rtmp: Check the buffer length of ping packets

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agortmp: Allow having more unknown data at the end of a chunk size packet without failing
Samuel Pitoiset [Thu, 26 Jul 2012 12:05:58 +0000 (14:05 +0200)]
rtmp: Allow having more unknown data at the end of a chunk size packet without failing

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agortmp: Prevent reading outside of an allocate buffer when receiving server bandwidth...
Samuel Pitoiset [Thu, 26 Jul 2012 12:05:18 +0000 (14:05 +0200)]
rtmp: Prevent reading outside of an allocate buffer when receiving server bandwidth packets

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 26 Jul 2012 19:36:03 +0000 (21:36 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  libopenjpeg: support YUV and deep RGB pixel formats
  Fix typo in v410 decoder.
  vf_yadif: unset cur_buf on the input link.
  vf_overlay: ensure the overlay frame does not get leaked.
  vf_overlay: prevent premature freeing of cur_buf
  Support urlencoded http authentication credentials
  rtmp: Return an error when the client bandwidth is incorrect
  rtmp: Return proper error code in handle_server_bw
  rtmp: Return proper error code in handle_client_bw
  rtmp: Return proper error codes in handle_chunk_size
  lavr: x86: add missing vzeroupper in ff_mix_1_to_2_fltp_flt()
  vp8: Replace x*155/100 by x*101581>>16.
  vp3: don't use calls to inline asm in yasm code.
  x86/dsputil: put inline asm under HAVE_INLINE_ASM.
  dsputil_mmx: fix incorrect assembly code
  rtmp: Factorize the code by adding handle_invoke
  rtmp: Factorize the code by adding handle_chunk_size
  rtmp: Factorize the code by adding handle_ping
  rtmp: Factorize the code by adding handle_client_bw
  rtmp: Factorize the code by adding handle_server_bw

Conflicts:
libavcodec/libopenjpegdec.c
libavcodec/x86/dsputil_mmx.c
libavfilter/vf_overlay.c
libavformat/Makefile
libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoChangelog: put entries lost in 2cb4d516549526b5e17e941f6d2375a2c501ade6 back
Michael Niedermayer [Thu, 26 Jul 2012 18:37:05 +0000 (20:37 +0200)]
Changelog: put entries lost in 2cb4d516549526b5e17e941f6d2375a2c501ade6 back

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffmpeg: doxyfy some comments and mention the timebase used in various timestamp fields.
Michael Niedermayer [Thu, 26 Jul 2012 15:58:26 +0000 (17:58 +0200)]
ffmpeg: doxyfy some comments and mention the timebase used in various timestamp fields.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffmpeg: move decoded_frame->pts computation together
Michael Niedermayer [Thu, 26 Jul 2012 15:57:36 +0000 (17:57 +0200)]
ffmpeg: move decoded_frame->pts computation together

This clarifies the code.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffmpeg: Fix rounding errors in decoded_frame->pts computation
Michael Niedermayer [Thu, 26 Jul 2012 15:56:52 +0000 (17:56 +0200)]
ffmpeg: Fix rounding errors in decoded_frame->pts computation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffmpeg: fix assumed decoded_frame->pts timebase
Michael Niedermayer [Thu, 26 Jul 2012 15:56:07 +0000 (17:56 +0200)]
ffmpeg: fix assumed decoded_frame->pts timebase

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffmpeg: reset decoded_frame->pts after rescaling.
Michael Niedermayer [Thu, 26 Jul 2012 15:51:56 +0000 (17:51 +0200)]
ffmpeg: reset decoded_frame->pts after rescaling.

This ensures its not used afterwards.
This commit should not change anything as it should not have been used afterwards.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agompc8: Initialize AVFrame properly
Michael Niedermayer [Thu, 26 Jul 2012 15:45:44 +0000 (17:45 +0200)]
mpc8: Initialize AVFrame properly

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agompc7: Initialize AVFrame properly
Michael Niedermayer [Thu, 26 Jul 2012 15:42:08 +0000 (17:42 +0200)]
mpc7: Initialize AVFrame properly

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffmpeg: fix units of next_?ts in debug printing routine.
Michael Niedermayer [Thu, 26 Jul 2012 15:12:07 +0000 (17:12 +0200)]
ffmpeg: fix units of next_?ts in debug printing routine.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoh264_cabac: switch to av_assert
Michael Niedermayer [Thu, 26 Jul 2012 14:33:39 +0000 (16:33 +0200)]
h264_cabac: switch to av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>