platform/upstream/libav.git
13 years agoExtend WavPack demuxer and decoder to support >2 channel audio
Kostya [Sat, 22 Jan 2011 13:43:15 +0000 (13:43 +0000)]
Extend WavPack demuxer and decoder to support >2 channel audio

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
13 years agoDo not set audio_resample to 0 if audio_sync_method is > 1.
Stefano Sabatini [Sun, 23 Jan 2011 01:06:59 +0000 (02:06 +0100)]
Do not set audio_resample to 0 if audio_sync_method is > 1.

If audio_sync_method is >1 the resampler is used for audio drift
compensation, and do_audio_out() was causing an assert failure because
audio_resample was not set.

Fix issue 2516, which was introduced by SVN r25939.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoARM: NEON: fix overflow in h264 16x16 planar pred
Mans Rullgard [Sun, 23 Jan 2011 20:41:59 +0000 (20:41 +0000)]
ARM: NEON: fix overflow in h264 16x16 planar pred

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoAdd CFLAGS needed by PathScale compiler
Mans Rullgard [Sun, 23 Jan 2011 23:13:33 +0000 (23:13 +0000)]
Add CFLAGS needed by PathScale compiler

The PathScale compiler miscompiles wrapping arithmetic without
these flags.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoDisable symbol versioning on some BSDs
Mans Rullgard [Sun, 23 Jan 2011 20:48:51 +0000 (20:48 +0000)]
Disable symbol versioning on some BSDs

Dragonfly, NetBSD, and OpenBSD do not support symbol versioning
although our link test passes.  Disable it explicitly for these
systems.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoMIPS: use inline asm only when supported by compiler
Mans Rullgard [Thu, 7 Oct 2010 00:25:31 +0000 (01:25 +0100)]
MIPS: use inline asm only when supported by compiler

13 years agoaacenc: fix typo in sync extension constant in 8ae0fa2
Janne Grunau [Sun, 23 Jan 2011 14:45:19 +0000 (15:45 +0100)]
aacenc: fix typo in sync extension constant in 8ae0fa2

13 years agoRemove redundant checks against MIN_CACHE_BITS
Mans Rullgard [Sun, 23 Jan 2011 02:22:34 +0000 (02:22 +0000)]
Remove redundant checks against MIN_CACHE_BITS

With the removal of the libmpeg2 bitstream reader, MIN_CACHE_BITS
is always >= 25, so tests against smaller values can be removed.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoget_bits: move tracing macros to end of file
Mans Rullgard [Sun, 23 Jan 2011 14:01:43 +0000 (14:01 +0000)]
get_bits: move tracing macros to end of file

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoSanitise get_bits macros, part 2
Mans Rullgard [Sun, 23 Jan 2011 01:56:27 +0000 (01:56 +0000)]
Sanitise get_bits macros, part 2

These whitespace changes improve the readability of the get_bits
macros.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoSanitise get_bits macros, part 1
Mans Rullgard [Sun, 23 Jan 2011 01:24:46 +0000 (01:24 +0000)]
Sanitise get_bits macros, part 1

Some of the macros in get_bits.h include a final semicolon,
some do not.  This removes these or adds do {} while(0) around
the macros as appropriate and adds semicolons where needed in
calling code.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoRemove "libmpeg2" bitstream reader
Mans Rullgard [Sun, 23 Jan 2011 01:18:13 +0000 (01:18 +0000)]
Remove "libmpeg2" bitstream reader

Using the libmpeg2 reader causes errors in a multitude of places,
including MPEG and H264 codecs.  As the advantage of this reader
is questionable, removing it seems the sensible course of action,
especially considering the simplifications this allows elsewhere
with the bit cache size increasing from 17 to 25 bits as minimum.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoMakefile: simplify test tools handling
Mans Rullgard [Thu, 20 Jan 2011 02:07:55 +0000 (02:07 +0000)]
Makefile: simplify test tools handling

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoffserver: cleanup
Reinhard Tartler [Sun, 23 Jan 2011 07:53:40 +0000 (08:53 +0100)]
ffserver: cleanup

remove the trivial function do_switch_stream as it doesn't help to make
the code easier to understand.

13 years agoac3enc: use dsputil functions in apply_window()
Justin Ruggles [Thu, 13 Jan 2011 20:28:06 +0000 (15:28 -0500)]
ac3enc: use dsputil functions in apply_window()

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoChange DSPContext.vector_fmul() from dst=dst*src to dest=src0*src1.
Justin Ruggles [Thu, 13 Jan 2011 20:28:06 +0000 (15:28 -0500)]
Change DSPContext.vector_fmul() from dst=dst*src to dest=src0*src1.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoReindent.
Ronald S. Bultje [Sat, 22 Jan 2011 14:42:57 +0000 (14:42 +0000)]
Reindent.

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
13 years agoFix crash on resolution change (issue 2393).
Ronald S. Bultje [Sat, 22 Jan 2011 14:42:56 +0000 (14:42 +0000)]
Fix crash on resolution change (issue 2393).

Don't free RBSP tables (containing decoded NAL units) on resolution
change, because we actually need this data to decode the frame after
reiniting (with new resolution). Fixed issue 2393.

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
13 years agoMake LOCAL_ALIGNED macro fully C99 compatible
Mans Rullgard [Thu, 20 Jan 2011 02:04:54 +0000 (02:04 +0000)]
Make LOCAL_ALIGNED macro fully C99 compatible

C99 variadic macros require more arguments than there are named
parameters in the definition.  This means we must use an extra
indirection to avoid having two different macros for arrays with
one resp more than one dimension.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoRemove H.264 encoder fragments
Alex Converse [Sat, 22 Jan 2011 03:49:55 +0000 (03:49 +0000)]
Remove H.264 encoder fragments

It's incomplete, no one is working on it, and when someone asks about
working on it we advise them not to.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoaacenc: mark SBR absent
Alex Converse [Sat, 22 Jan 2011 05:23:43 +0000 (05:23 +0000)]
aacenc: mark SBR absent

Use backwards compatible explicit signalling to denote the absence of
SBR.

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
13 years agoAmend documentation for the image2 demuxer, to better reflect the current behavior.
Stefano Sabatini [Fri, 21 Jan 2011 12:54:14 +0000 (13:54 +0100)]
Amend documentation for the image2 demuxer, to better reflect the current behavior.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoRemove outdated and confusing comment.
Stefano Sabatini [Sat, 22 Jan 2011 11:07:03 +0000 (11:07 +0000)]
Remove outdated and confusing comment.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago10l: reverse the biquad coefficients.
Justin Ruggles [Fri, 21 Jan 2011 20:59:20 +0000 (20:59 +0000)]
10l: reverse the biquad coefficients.

I did not notice that the filter implementation uses a reversed history state.

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
13 years agostreamid does not work with newaudio, newvideo, newsubtitle
Mike Scheutzow [Sat, 15 Jan 2011 16:11:55 +0000 (16:11 +0000)]
streamid does not work with newaudio, newvideo, newsubtitle

fixes issue2465.

The problem is that the ffmpeg (the app) -streamid option did not work
with -newaudio/-newvideo/-newsubtitle.

The cause was a conflict between the feature where streamid values were
reset to default for each output filename, and the implementation of
-new*, which requires that the -new* option be specified after the
target filename.

My patch changes the ffmpeg behavior so that user-specified streamid
values apply to all the following output files on the command line
(rather than just the next output filename.)

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
13 years agofate: add lossless h264 test
Mans Rullgard [Thu, 20 Jan 2011 22:20:39 +0000 (22:20 +0000)]
fate: add lossless h264 test

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agolibfaac: add recognized profiles array
Anssi Hannula [Fri, 21 Jan 2011 21:58:54 +0000 (21:58 +0000)]
libfaac: add recognized profiles array

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
13 years agomp3enc: support for id3v2.3 tags using a per-muxer AVOption
Anton Khirnov [Fri, 21 Jan 2011 19:54:35 +0000 (19:54 +0000)]
mp3enc: support for id3v2.3 tags using a per-muxer AVOption

fixes issue2562.

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
13 years agoid3v2: split tables for various ID3v2 versions
Anton Khirnov [Fri, 21 Jan 2011 19:54:34 +0000 (19:54 +0000)]
id3v2: split tables for various ID3v2 versions

This is needed for upcoming ID3v2.3 muxing support.

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
13 years agomp3enc: handle errors in id3v2_put_ttag
Anton Khirnov [Sat, 22 Jan 2011 01:00:13 +0000 (02:00 +0100)]
mp3enc: handle errors in id3v2_put_ttag

make the initialization of put clearer

this are the differences between
[FFmpeg-devel] [PATCH 1/3] mp3enc: add support for writing UTF-16 tags
and the already applied 187e23478bc5c066ff8eef562925471ac179644e

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
13 years agoMove ID3v1 skip from decoder to demuxer
Clément Bœsch [Fri, 21 Jan 2011 22:55:31 +0000 (23:55 +0100)]
Move ID3v1 skip from decoder to demuxer

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
13 years agofate: make lavfi tests output only md5
Mans Rullgard [Fri, 21 Jan 2011 21:31:21 +0000 (21:31 +0000)]
fate: make lavfi tests output only md5

Instead of saving huge raw files, use the md5: output pseudo-protocol
to calculate the checksum of the file directly.  This is especially
useful when testing on remote targets as it avoids transferring 3.6GB
over the network.

13 years agodca: add profile names
Anssi Hannula [Fri, 21 Jan 2011 22:58:55 +0000 (22:58 +0000)]
dca: add profile names

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoiir: Change dst param to float* in ff_iir_filter_flt().
Justin Ruggles [Fri, 21 Jan 2011 21:59:19 +0000 (21:59 +0000)]
iir: Change dst param to float* in ff_iir_filter_flt().

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agodca: consider a stream with XXCh/X96 in ExSS as DTS-HD HRA
Anssi Hannula [Fri, 21 Jan 2011 20:00:40 +0000 (20:00 +0000)]
dca: consider a stream with XXCh/X96 in ExSS as DTS-HD HRA

DTS-HD HRA streams do not always have an XBR extension in the extension
substream. Instead they can have only XXCh and X96 extensions in
there and still be considered DTS-HD HRA.

This is also confirmed with Onkyo TX-SR607 receiver which recognizes
such a stream as HiRes Audio.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agomp3enc: add support for writing UTF-16 tags
Anton Khirnov [Fri, 21 Jan 2011 18:18:09 +0000 (18:18 +0000)]
mp3enc: add support for writing UTF-16 tags

Also it gets rid of some mysterious magic numbers in code.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoFix libavformat version extraction in configure
Mans Rullgard [Fri, 21 Jan 2011 21:35:08 +0000 (21:35 +0000)]
Fix libavformat version extraction in configure

This fixes shared library builds broken by
50196a982bf7c8be9b41053fa0975473c217e709

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoconfigure: better test for mktemp
Mans Rullgard [Fri, 21 Jan 2011 19:58:23 +0000 (19:58 +0000)]
configure: better test for mktemp

Some variants of mktemp require a template, so provide one when
checking for the command.  We already supply a template in the
subsequent uses of mktemp.

Thanks to Michael Kostylev.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoconfigure: simplify exit traps
Mans Rullgard [Fri, 21 Jan 2011 19:05:07 +0000 (19:05 +0000)]
configure: simplify exit traps

This does the same thing and also fixes the trapping in
some (possibly broken) shells.

Suggested by Michael Kostylev.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agolavf: move ff_put_str16_nolen from asf to avio and rename it
Anton Khirnov [Fri, 21 Jan 2011 19:18:08 +0000 (19:18 +0000)]
lavf: move ff_put_str16_nolen from asf to avio and rename it

It will be useful in the mp3 muxer.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoavio: add av_put_str and deprecate put_strz in favor of it
Anton Khirnov [Fri, 21 Jan 2011 19:18:07 +0000 (19:18 +0000)]
avio: add av_put_str and deprecate put_strz in favor of it

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agocosmetics related to LPC changes.
Justin Ruggles [Fri, 21 Jan 2011 00:12:18 +0000 (00:12 +0000)]
cosmetics related to LPC changes.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoSeparate window function from autocorrelation.
Justin Ruggles [Fri, 21 Jan 2011 00:12:03 +0000 (00:12 +0000)]
Separate window function from autocorrelation.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoMove lpc_compute_autocorr() from DSPContext to a new struct LPCContext.
Justin Ruggles [Fri, 21 Jan 2011 00:11:44 +0000 (00:11 +0000)]
Move lpc_compute_autocorr() from DSPContext to a new struct LPCContext.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agolavf: move the version macros to a new header
Anton Khirnov [Fri, 21 Jan 2011 19:18:06 +0000 (19:18 +0000)]
lavf: move the version macros to a new header

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoid3v2: use an enum for encodings instead of magic numbers.
Anton Khirnov [Wed, 19 Jan 2011 09:13:25 +0000 (10:13 +0100)]
id3v2: use an enum for encodings instead of magic numbers.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoMake demuxers auto-select parsers they need
Mans Rullgard [Fri, 21 Jan 2011 18:12:17 +0000 (18:12 +0000)]
Make demuxers auto-select parsers they need

This makes configure --disable-everything --enable-demuxer=foo
work as expected.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoMakefile: simplify setting of some variables
Mans Rullgard [Thu, 20 Jan 2011 02:04:19 +0000 (02:04 +0000)]
Makefile: simplify setting of some variables

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoSplit mp3 demuxer and muxer into separate files.
Anton Khirnov [Fri, 21 Jan 2011 13:53:46 +0000 (13:53 +0000)]
Split mp3 demuxer and muxer into separate files.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agodca: pretty-print some tables
Mans Rullgard [Fri, 21 Jan 2011 00:09:31 +0000 (00:09 +0000)]
dca: pretty-print some tables

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoiir: change filter type if/else to a switch.
Justin Ruggles [Thu, 20 Jan 2011 21:59:23 +0000 (21:59 +0000)]
iir: change filter type if/else to a switch.

Simplifies error handling and makes it easier to add additional filter types.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoAdd biquad high-pass and low-pass IIR filters.
Justin Ruggles [Thu, 20 Jan 2011 21:26:47 +0000 (21:26 +0000)]
Add biquad high-pass and low-pass IIR filters.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoRevert 2a1f431d38ea9c05abb215d70c7dc09cdb6888ab, it broke H264 lossless.
Ronald S. Bultje [Thu, 20 Jan 2011 22:24:19 +0000 (17:24 -0500)]
Revert 2a1f431d38ea9c05abb215d70c7dc09cdb6888ab, it broke H264 lossless.

13 years agoSet gray (128) U/V planes for chroma-less samples. Fixes two fate samples
Ronald S. Bultje [Thu, 20 Jan 2011 19:00:34 +0000 (14:00 -0500)]
Set gray (128) U/V planes for chroma-less samples. Fixes two fate samples
when played with -flags emu_edge.

13 years agoSplit out Butterworth filter coeff init to a separate function.
Justin Ruggles [Thu, 20 Jan 2011 19:06:15 +0000 (19:06 +0000)]
Split out Butterworth filter coeff init to a separate function.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agocosmetics: vertical alignment and line wrap
Justin Ruggles [Thu, 20 Jan 2011 18:28:17 +0000 (18:28 +0000)]
cosmetics: vertical alignment and line wrap

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoAdd memory allocation failure checks to ff_iir_filter_init_coeffs().
Justin Ruggles [Thu, 20 Jan 2011 18:28:16 +0000 (18:28 +0000)]
Add memory allocation failure checks to ff_iir_filter_init_coeffs().

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoMake PNG test depend on PNG codec
Mans Rullgard [Thu, 20 Jan 2011 17:52:13 +0000 (17:52 +0000)]
Make PNG test depend on PNG codec

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agocosmetics: wrap long line
Justin Ruggles [Thu, 20 Jan 2011 17:04:58 +0000 (17:04 +0000)]
cosmetics: wrap long line

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoAdd function ff_iir_filter_flt() to accept floating-point input and output.
Justin Ruggles [Thu, 20 Jan 2011 17:24:06 +0000 (17:24 +0000)]
Add function ff_iir_filter_flt() to accept floating-point input and output.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agompegtsenc: prefer metadata keyed with "service_name"
Janne Grunau [Thu, 20 Jan 2011 14:03:47 +0000 (15:03 +0100)]
mpegtsenc: prefer metadata keyed with "service_name"

title metadata is only used as fallback if no service_name is available.

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
13 years agoSet service_provider and service_name in mpegts demuxer
Georgi Chorbadzhiyski [Thu, 20 Jan 2011 13:24:53 +0000 (15:24 +0200)]
Set service_provider and service_name in mpegts demuxer

Set service_provider and service_name in mpegts demuxer, previously
name and provider_name were set but since the muxer uses service_provider
and service_name use them.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoid3v2: don't overwrite existing tags
Anton Khirnov [Thu, 20 Jan 2011 08:06:58 +0000 (09:06 +0100)]
id3v2: don't overwrite existing tags

Apparently some broken taggers prepend a new ID3v2 tag leaving the
existing one intact. Our parser currently reads all tags and overwrites
existing values with supposedly outdated ones.

fixes issue2419

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoid3v2: convert metadata after all the tags were read
Anton Khirnov [Thu, 20 Jan 2011 08:35:59 +0000 (08:35 +0000)]
id3v2: convert metadata after all the tags were read

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoid3v2: make ff_id3v2_parse static
Anton Khirnov [Thu, 20 Jan 2011 08:35:58 +0000 (08:35 +0000)]
id3v2: make ff_id3v2_parse static

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agolibavcodec minor version is > 99 so fix the formating
Georgi Chorbadzhiyski [Thu, 20 Jan 2011 08:04:45 +0000 (10:04 +0200)]
libavcodec minor version is > 99 so fix the formating

libavcodec minor version is > 99 so when printing the library versions
the output is a little bit broken:

  libavutil    50. 36. 0 / 50.36. 0
  libavcore     0. 16. 1 /  0.16. 1
  libavcodec   52.108. 0 / 52.108. 0
  libavformat  52. 94. 0 / 52.94. 0
  libavdevice  52.  2. 3 / 52. 2. 3
  libavfilter   1. 74. 0 /  1.74. 0
  libswscale    0. 12. 0 /  0.12. 0

Change the formating to look like this:

  libavutil    50. 36. 0 / 50. 36. 0
  libavcore     0. 16. 1 /  0. 16. 1
  libavcodec   52.108. 0 / 52.108. 0
  libavformat  52. 94. 0 / 52. 94. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 74. 0 /  1. 74. 0
  libswscale    0. 12. 0 /  0. 12. 0

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoAdd service_provider and service_name metadata
Georgi Chorbadzhiyski [Thu, 20 Jan 2011 07:26:40 +0000 (09:26 +0200)]
Add service_provider and service_name metadata

This patch adds support in mpegts muxer for using service_provider and
service_name metadata to set service_provider_name and service_name
fields in SDT.

Example usage:
   ffmpeg -i file.ts -f mpegts -re -acodec copy -vcodec copy -f mpegts \
       -metadata service_provider="Some provider" \
       -metadata service_name="Some Channel" \
       "udp://239.0.70.2:5000?pkt_size=1316&ttl=1"

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoFix horizontal/horizontal_up 8x8l intra prediction x86/simd functions.
Ronald S. Bultje [Thu, 20 Jan 2011 01:30:18 +0000 (20:30 -0500)]
Fix horizontal/horizontal_up 8x8l intra prediction x86/simd functions.
The original functions did not work correctly for edge pixels, e.g.
when CODEC_FLAG_EMU_EDGE is set, leading to corrupt output in e.g. VLC.
Based on a patch by Daniel Kang <daniel d kang gmail com>.

Signed-off-by: Ronald S. Bultje <rsbultje gmail com>
13 years agoFix use of sstep/dstep in ff_iir_filter().
Justin Ruggles [Wed, 19 Jan 2011 20:02:05 +0000 (20:02 +0000)]
Fix use of sstep/dstep in ff_iir_filter().

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoAdd regression test for stereo s16le in voc.
Justin Ruggles [Tue, 18 Jan 2011 17:58:49 +0000 (17:58 +0000)]
Add regression test for stereo s16le in voc.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoconfigure: fix mktemp test and fallback function
Mans Rullgard [Wed, 6 Oct 2010 23:44:52 +0000 (00:44 +0100)]
configure: fix mktemp test and fallback function

13 years agoARM: improve VFP ABI check
Mans Rullgard [Sun, 16 Jan 2011 18:42:36 +0000 (18:42 +0000)]
ARM: improve VFP ABI check

Recent gcc versions define __ARM_PCS or __ARM_PCS_VFP to indicate the
VFP ABI in use, and ARM RVCT defines __SOFTFP__ when using this ABI.
If none of these are defined, check $cross_prefix and $cc for the
substring "hardfloat", and finally fall back to a linker test.  This
gives the correct result in most configurations.

13 years agoarmcc: suppress warning about hardfp compatibility
Mans Rullgard [Sun, 16 Jan 2011 12:50:49 +0000 (12:50 +0000)]
armcc: suppress warning about hardfp compatibility

13 years agoarmcc: suppress 'assignment in condition' warning
Mans Rullgard [Sat, 15 Jan 2011 14:55:08 +0000 (14:55 +0000)]
armcc: suppress 'assignment in condition' warning

13 years agofate: simplify vp8 rules
Mans Rullgard [Sun, 16 Jan 2011 12:27:37 +0000 (12:27 +0000)]
fate: simplify vp8 rules

13 years agoa64enc: make PixelFormat arrays const
Mans Rullgard [Sat, 15 Jan 2011 22:34:49 +0000 (22:34 +0000)]
a64enc: make PixelFormat arrays const

13 years agoReplace ASMALIGN() with .p2align
Mans Rullgard [Sat, 15 Jan 2011 22:09:35 +0000 (22:09 +0000)]
Replace ASMALIGN() with .p2align

This macro has unconditionally used .p2align for a long time and
serves no useful purpose.

13 years agox86: remove VLA in ac3_downmix_sse
Mans Rullgard [Fri, 25 Jun 2010 01:37:22 +0000 (02:37 +0100)]
x86: remove VLA in ac3_downmix_sse

13 years agoregtest: add openssl to md5 alternatives
Mans Rullgard [Thu, 7 Oct 2010 12:54:10 +0000 (13:54 +0100)]
regtest: add openssl to md5 alternatives

13 years agoconfigure: make $TMPE executable
Mans Rullgard [Wed, 6 Oct 2010 14:54:35 +0000 (15:54 +0100)]
configure: make $TMPE executable

This is required on systems where the linker does not change
the permissions of an existing output file.

13 years agocpu-test: include stdio.h only for test prog
Mans Rullgard [Sat, 15 Jan 2011 15:09:26 +0000 (15:09 +0000)]
cpu-test: include stdio.h only for test prog

13 years agoUse -Bsymbolic for shared libs only, not executables
Mans Rullgard [Fri, 15 Oct 2010 10:31:58 +0000 (11:31 +0100)]
Use -Bsymbolic for shared libs only, not executables

Some linkers fail if this flag is used when creating an executable file.
Since the flag is meaningful only for shared libraries, dropping it from
the main link flags is correct.

13 years agoUse INFINITY and NAN macros instead of 1/0 and 0/0
Mans Rullgard [Mon, 18 Oct 2010 20:42:26 +0000 (21:42 +0100)]
Use INFINITY and NAN macros instead of 1/0 and 0/0

13 years agoFix quoting in version.sh
Mans Rullgard [Wed, 6 Oct 2010 14:36:58 +0000 (15:36 +0100)]
Fix quoting in version.sh

13 years agoavfilter: remove stray semicolon
Mans Rullgard [Thu, 7 Oct 2010 02:11:55 +0000 (03:11 +0100)]
avfilter: remove stray semicolon

13 years agoUpdate git-howto with ffmpeg.org URLs
Mans Rullgard [Sun, 16 Jan 2011 19:23:00 +0000 (19:23 +0000)]
Update git-howto with ffmpeg.org URLs

13 years agoconsolidate .gitignore patters into a single file
Janne Grunau [Tue, 18 Jan 2011 19:44:24 +0000 (20:44 +0100)]
consolidate .gitignore patters into a single file

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
13 years agoDeprecate CREDITS
Jason Garrett-Glaser [Tue, 18 Jan 2011 19:16:05 +0000 (11:16 -0800)]
Deprecate CREDITS
It's useless now that we've switched to git.

13 years agoInitial MAINTAINERS update
Jason Garrett-Glaser [Tue, 18 Jan 2011 19:05:51 +0000 (11:05 -0800)]
Initial MAINTAINERS update
Per http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2011-January/103440.html.

13 years agoRevise check for codec id in voc demuxer.
Justin Ruggles [Tue, 18 Jan 2011 17:25:44 +0000 (12:25 -0500)]
Revise check for codec id in voc demuxer.

This fixes demuxing of packets that do not contain a codec tag and come before the codec_id has been set.

13 years agoFix bug in voc demuxer that was introduced in SVN r26309.
Justin Ruggles [Tue, 18 Jan 2011 12:38:50 +0000 (07:38 -0500)]
Fix bug in voc demuxer that was introduced in SVN r26309.

Fixes issue 2560.

13 years agocosmetics: reindent
Justin Ruggles [Tue, 18 Jan 2011 16:40:13 +0000 (11:40 -0500)]
cosmetics: reindent

13 years agoAdd check for changing number of channels in DCA.
Daniel Kang [Tue, 18 Jan 2011 16:30:33 +0000 (11:30 -0500)]
Add check for changing number of channels in DCA.

Fixes issue 2505.

13 years agoUpdate threshold to detect real timebase for stream copy.
Michael Niedermayer [Tue, 18 Jan 2011 15:02:15 +0000 (16:02 +0100)]
Update threshold to detect real timebase for stream copy.
This may fix a bug where quicktime files use 1/600 timebase.

13 years agoMissing parts of IVF muxer support.
Reimar Döffinger [Tue, 18 Jan 2011 06:59:49 +0000 (07:59 +0100)]
Missing parts of IVF muxer support.

13 years agoFeed the filter chain with the sample aspect ratio from the muxer or codec layer
Michael Niedermayer [Mon, 17 Jan 2011 20:38:56 +0000 (21:38 +0100)]
Feed the filter chain with the sample aspect ratio from the muxer or codec layer
like it has been done prior libavfilter.

13 years agoAdd my GPG fingerprint to MAINTAINERS
Anssi Hannula [Mon, 17 Jan 2011 21:51:11 +0000 (23:51 +0200)]
Add my GPG fingerprint to MAINTAINERS

13 years agoMerge two if (got_picture) {} blocks in ffplay.c:get_video_frame().
Stefano Sabatini [Sun, 16 Jan 2011 17:17:00 +0000 (18:17 +0100)]
Merge two if (got_picture) {} blocks in ffplay.c:get_video_frame().

13 years agoupdate av_log_missing_feature() to git
Janne Grunau [Mon, 17 Jan 2011 21:13:50 +0000 (22:13 +0100)]
update av_log_missing_feature() to git

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
13 years agoChange SVN to Git in configure
Lou Logan [Mon, 17 Jan 2011 20:44:19 +0000 (11:44 -0900)]
Change SVN to Git in configure

Changes "version from SVN" to "version from Git".

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>