ffmpeg.git
8 years agoavio: make url_filesize() internal.
Anton Khirnov [Thu, 31 Mar 2011 15:46:00 +0000 (17:46 +0200)]
avio: make url_filesize() internal.

8 years agoavio: make url_close() internal.
Anton Khirnov [Thu, 31 Mar 2011 15:36:06 +0000 (17:36 +0200)]
avio: make url_close() internal.

8 years agoavio: make url_seek() internal.
Anton Khirnov [Thu, 31 Mar 2011 15:30:31 +0000 (17:30 +0200)]
avio: make url_seek() internal.

8 years agoavio: cosmetics, move AVSEEK_SIZE/FORCE declarations together
Anton Khirnov [Thu, 31 Mar 2011 15:26:09 +0000 (17:26 +0200)]
avio: cosmetics, move AVSEEK_SIZE/FORCE declarations together

8 years agoavio: make url_write() internal.
Anton Khirnov [Thu, 31 Mar 2011 14:48:01 +0000 (16:48 +0200)]
avio: make url_write() internal.

8 years agoavio: make url_read_complete() internal.
Anton Khirnov [Thu, 31 Mar 2011 14:40:31 +0000 (16:40 +0200)]
avio: make url_read_complete() internal.

8 years agoavio: make url_read() internal.
Anton Khirnov [Thu, 31 Mar 2011 14:31:43 +0000 (16:31 +0200)]
avio: make url_read() internal.

8 years agoavio: make url_open() internal.
Anton Khirnov [Thu, 31 Mar 2011 14:25:10 +0000 (16:25 +0200)]
avio: make url_open() internal.

8 years agoavio: make url_connect internal.
Anton Khirnov [Thu, 31 Mar 2011 14:10:50 +0000 (16:10 +0200)]
avio: make url_connect internal.

8 years agoavio: make url_alloc internal.
Anton Khirnov [Thu, 31 Mar 2011 14:04:59 +0000 (16:04 +0200)]
avio: make url_alloc internal.

8 years agoapplehttp: Merge two for loops
Martin Storsjö [Sun, 20 Mar 2011 22:23:54 +0000 (00:23 +0200)]
applehttp: Merge two for loops

The previous commit didn't do this straight away, to keep the
diff slightly simpler.

8 years agoapplehttp: Restructure the demuxer to use a custom AVIOContext
Martin Storsjö [Sun, 20 Mar 2011 22:21:56 +0000 (00:21 +0200)]
applehttp: Restructure the demuxer to use a custom AVIOContext

This avoids issues where EOF at the end of the segment is given
the variant demuxer. Now the demuxers only see one single data
stream (as when using the applehttp protocol handler).

8 years agoapplehttp: Move finished and target_duration to the variant struct
Martin Storsjö [Sun, 20 Mar 2011 22:08:59 +0000 (00:08 +0200)]
applehttp: Move finished and target_duration to the variant struct

This is a preparation for a restructuring of the demuxer, to
minimize the later diff.

8 years agoaacenc: reduce the number of loop index variables
Young Han Lee [Thu, 31 Mar 2011 13:41:53 +0000 (22:41 +0900)]
aacenc: reduce the number of loop index variables

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
8 years agoavio: deprecate url_open_protocol
Anton Khirnov [Thu, 31 Mar 2011 14:00:49 +0000 (16:00 +0200)]
avio: deprecate url_open_protocol

The unbuffered API will be made private and it's not used anywhere
internally.

8 years agoavio: deprecate url_poll and URLPollEntry
Anton Khirnov [Thu, 31 Mar 2011 13:22:18 +0000 (15:22 +0200)]
avio: deprecate url_poll and URLPollEntry

They're unimplemented and nobody cared to do anything with that for
10 years.

8 years agoac3enc: select bandwidth based on bit rate, sample rate, and number of
Justin Ruggles [Mon, 28 Mar 2011 13:18:37 +0000 (09:18 -0400)]
ac3enc: select bandwidth based on bit rate, sample rate, and number of
full-bandwidth channels.

This reduces high-frequency artifacts and improves the quality of the lower
frequency audio at low bit rates.

8 years agoflvdec: fix segfault in amf_parse_object() due to NULL key
Justin Ruggles [Sun, 3 Apr 2011 19:15:36 +0000 (15:15 -0400)]
flvdec: fix segfault in amf_parse_object() due to NULL key

fixes Issue 2674

8 years agofate: fix partial run when no samples path is specified
Mans Rullgard [Sun, 3 Apr 2011 22:12:16 +0000 (23:12 +0100)]
fate: fix partial run when no samples path is specified

This restores the behaviour of running only the builtin
regression tests when no path to external samples is given.
aa3805a inadvertently broke this by always setting SAMPLES
to something.  Using := makes the ifdef test work as expected
when the FATE_SAMPLES environment variable is empty.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoARM: NEON fixed-point forward MDCT
Mans Rullgard [Mon, 28 Mar 2011 18:39:44 +0000 (19:39 +0100)]
ARM: NEON fixed-point forward MDCT

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoARM: NEON fixed-point FFT
Mans Rullgard [Sun, 27 Mar 2011 09:26:58 +0000 (10:26 +0100)]
ARM: NEON fixed-point FFT

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agolavf: bump minor version and add an APIChanges entry for avio changes
Anton Khirnov [Thu, 17 Mar 2011 12:42:45 +0000 (13:42 +0100)]
lavf: bump minor version and add an APIChanges entry for avio changes

8 years agoavio: simplify url_open_dyn_buf_internal by using avio_alloc_context()
Anton Khirnov [Sun, 3 Apr 2011 20:55:31 +0000 (22:55 +0200)]
avio: simplify url_open_dyn_buf_internal by using avio_alloc_context()

8 years agoavio: make url_fdopen internal.
Anton Khirnov [Thu, 17 Mar 2011 07:44:44 +0000 (08:44 +0100)]
avio: make url_fdopen internal.

The unbuffered URLContext API will be made private, so there's no point
in this function being public.

8 years agoavio: make url_open_dyn_packet_buf internal.
Anton Khirnov [Thu, 17 Mar 2011 07:19:54 +0000 (08:19 +0100)]
avio: make url_open_dyn_packet_buf internal.

It doesn't look fit to be a part of the public API.

Adding a temporary hack to ffserver to be able to use it, should be
cleaned up when somebody is up for it.

8 years agoavio: avio_ prefix for url_close_dyn_buf
Anton Khirnov [Thu, 17 Mar 2011 07:16:07 +0000 (08:16 +0100)]
avio: avio_ prefix for url_close_dyn_buf

8 years agoavio: avio_ prefix for url_open_dyn_buf
Anton Khirnov [Thu, 17 Mar 2011 07:13:34 +0000 (08:13 +0100)]
avio: avio_ prefix for url_open_dyn_buf

8 years agoavio: introduce an AVIOContext.seekable field
Anton Khirnov [Sat, 5 Mar 2011 20:06:46 +0000 (21:06 +0100)]
avio: introduce an AVIOContext.seekable field

Use it instead of url_is_streamed and AVIOContext.is_streamed.

8 years agoac3enc: use generic fixed-point mdct
Mans Rullgard [Mon, 21 Mar 2011 18:07:59 +0000 (18:07 +0000)]
ac3enc: use generic fixed-point mdct

This makes the AC3 encoder use the shared fixed-point MDCT rather
than its own implementation.  The checksum changes are due to
different rounding in the MDCT.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agolavfi: add fade filter
Brandon Mintern [Mon, 21 Feb 2011 11:02:57 +0000 (12:02 +0100)]
lavfi: add fade filter

Port fade filter from libavfilter soc repo, with minor fixes by
Stefano.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoChange yadif to not use out of picture lines.
Michael Niedermayer [Fri, 18 Feb 2011 18:10:33 +0000 (19:10 +0100)]
Change yadif to not use out of picture lines.

Fixes issue2272.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agolavc: deprecate AVCodecContext.antialias_algo
Anton Khirnov [Sat, 2 Apr 2011 11:34:12 +0000 (13:34 +0200)]
lavc: deprecate AVCodecContext.antialias_algo

It's been unused since mp3float decoder was added.

8 years agolavc: mark mb_qmin/mb_qmax for removal on next major bump.
Anton Khirnov [Sat, 2 Apr 2011 11:18:00 +0000 (13:18 +0200)]
lavc: mark mb_qmin/mb_qmax for removal on next major bump.

They've been unused and deprecated for about five years.

8 years agoFixed-point MDCT with 32-bit unscaled output
Mans Rullgard [Mon, 21 Mar 2011 17:52:34 +0000 (17:52 +0000)]
Fixed-point MDCT with 32-bit unscaled output

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agolavc: deprecate rate_emu
Anton Khirnov [Sat, 2 Apr 2011 10:51:28 +0000 (12:51 +0200)]
lavc: deprecate rate_emu

It's not used anywhere and apparrently hasn't been for a very long time.

8 years agolavc: mark hurry_up for removal on next major bump
Anton Khirnov [Sat, 2 Apr 2011 09:56:21 +0000 (11:56 +0200)]
lavc: mark hurry_up for removal on next major bump

It has been deprecated for about five years, skip_idct/skip_frame should
be used instead.

8 years agoparser: mark av_parser_parse() for removal on next major bump
Anton Khirnov [Sat, 2 Apr 2011 09:55:04 +0000 (11:55 +0200)]
parser: mark av_parser_parse() for removal on next major bump

Fixes build with the bump, since the prototype is already marked for
removal.

8 years agolavc: add missing audioconvert includes
Anton Khirnov [Sat, 2 Apr 2011 09:50:10 +0000 (11:50 +0200)]
lavc: add missing audioconvert includes

8 years agojvdec: don't use deprecated CODEC_TYPE_*/PKT_FLAG_KEY
Anton Khirnov [Sat, 2 Apr 2011 09:35:14 +0000 (11:35 +0200)]
jvdec: don't use deprecated CODEC_TYPE_*/PKT_FLAG_KEY

8 years agoac3enc: ARM optimised ac3_compute_matissa_size
Mans Rullgard [Fri, 11 Mar 2011 17:25:45 +0000 (17:25 +0000)]
ac3enc: ARM optimised ac3_compute_matissa_size

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoac3: armv6 optimised bit_alloc_calc_bap
Mans Rullgard [Fri, 11 Mar 2011 02:50:57 +0000 (02:50 +0000)]
ac3: armv6 optimised bit_alloc_calc_bap

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agofate: simplify fft test rules
Mans Rullgard [Thu, 31 Mar 2011 15:46:36 +0000 (16:46 +0100)]
fate: simplify fft test rules

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoavio: document avio_alloc_context.
Anton Khirnov [Thu, 31 Mar 2011 11:57:48 +0000 (13:57 +0200)]
avio: document avio_alloc_context.

8 years agolavf: make compute_chapters_end less picky.
Anton Khirnov [Fri, 1 Apr 2011 01:02:02 +0000 (03:02 +0200)]
lavf: make compute_chapters_end less picky.

In particular, now it assumes that
a) chapters are chronologically ordered
b) chapters have the same timebases
c) duration of the stream is known
and asserts if any of these is not met.

Make it properly deal with harsher conditions.

fixes issue2320

8 years agosierravmd: fix Indeo3 videos
Matthew Hoops [Thu, 31 Mar 2011 14:42:22 +0000 (10:42 -0400)]
sierravmd: fix Indeo3 videos

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoFFT: simplify fft8()
Mans Rullgard [Sun, 27 Mar 2011 13:49:55 +0000 (14:49 +0100)]
FFT: simplify fft8()

Part of the fft8() function corresponds to the BUTTERFLIES macro,
so use it.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agofate: add fixed-point fft/mdct tests
Mans Rullgard [Thu, 31 Mar 2011 15:02:25 +0000 (16:02 +0100)]
fate: add fixed-point fft/mdct tests

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoFixed-point support in fft-test
Mans Rullgard [Wed, 30 Mar 2011 20:13:21 +0000 (21:13 +0100)]
Fixed-point support in fft-test

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoape: check that number of seektable entries is equal to number of frames
Kostya Shishkov [Fri, 1 Apr 2011 07:26:38 +0000 (09:26 +0200)]
ape: check that number of seektable entries is equal to number of frames

fixes issue2480

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agompegts: propagate avio EOF in read_packet()
Jindrich Makovicka [Thu, 31 Mar 2011 14:58:50 +0000 (16:58 +0200)]
mpegts: propagate avio EOF in read_packet()

Allows distinguishing between EOF and IO error in read_packet return code.

Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoconfigure: Initial support for --target-os=symbian
Martin Storsjö [Tue, 25 Jan 2011 08:48:38 +0000 (10:48 +0200)]
configure: Initial support for --target-os=symbian

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agoFixed-point FFT and MDCT
Mans Rullgard [Sat, 26 Mar 2011 15:20:30 +0000 (15:20 +0000)]
Fixed-point FFT and MDCT

8 years agoInclude dependencies for test programs
Mans Rullgard [Wed, 30 Mar 2011 20:23:04 +0000 (21:23 +0100)]
Include dependencies for test programs

This makes sure the various *-test programs are correctly rebuilt
when necessary.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoac3enc: simplify sym_quant()
Mans Rullgard [Thu, 31 Mar 2011 00:28:08 +0000 (01:28 +0100)]
ac3enc: simplify sym_quant()

These expressions are equivalent since levels is always odd, and
overflow is impossible due to the constraints set by the assert().

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoflvdec: read index stored in the 'keyframes' tag.
Kharkov Alexander [Fri, 18 Mar 2011 07:26:51 +0000 (08:26 +0100)]
flvdec: read index stored in the 'keyframes' tag.

'keyframes' metatag is not part of the standard, it is just
convention to use such kind of metatag information for indexing.
Structure is following, it allows to have it inconsistent:
keyframes:
 times (array):
  time0 (num)
  time1 (num)
  time2 (num)
 filepositions (array)
  position0 (num)
  position1 (num)

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agomov: Add support for zero-sized stsc runs.
Alex Converse [Mon, 28 Mar 2011 20:54:18 +0000 (13:54 -0700)]
mov: Add support for zero-sized stsc runs.

A zero sized stsc run doesn't make a lot of sense but the spec does not
prohibit them and MPlayer VLC demuxers support them.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agortsp: Use GET_PARAMETER for keep-alive for generic RTSP servers
Martin Storsjö [Wed, 30 Mar 2011 20:35:28 +0000 (23:35 +0300)]
rtsp: Use GET_PARAMETER for keep-alive for generic RTSP servers

According to the RFC, GET_PARAMETER should be used for
this, and according to a report from Tim Ouellette,
OPTIONS doesn't work for keeping the connection alive for some
servers. Also, live555 uses GET_PARAMETER for this purpose.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years agomlp_parse.c: set AVCodecContext channel_layout
John Stebbins [Sat, 26 Mar 2011 02:34:19 +0000 (19:34 -0700)]
mlp_parse.c: set AVCodecContext channel_layout

The channel layout isn't getting set for mlp and truehd audio.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoAPIChanges: mark the place where 0.6 was branched.
Anton Khirnov [Wed, 30 Mar 2011 14:57:08 +0000 (16:57 +0200)]
APIChanges: mark the place where 0.6 was branched.

8 years agoavio: make get_checksum() internal.
Anton Khirnov [Thu, 17 Mar 2011 12:04:38 +0000 (13:04 +0100)]
avio: make get_checksum() internal.

8 years agoavio: move ff_crc04C11DB7_update() from avio.h -> avio_internal.h
Anton Khirnov [Thu, 17 Mar 2011 12:02:54 +0000 (13:02 +0100)]
avio: move ff_crc04C11DB7_update() from avio.h -> avio_internal.h

8 years agoavio: make init_checksum() internal.
Anton Khirnov [Thu, 17 Mar 2011 11:56:25 +0000 (12:56 +0100)]
avio: make init_checksum() internal.

8 years agoAdd MxPEG decoder
anatoly [Mon, 28 Mar 2011 16:02:19 +0000 (20:02 +0400)]
Add MxPEG decoder

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoAdd support for picture_ptr field in MJpegDecodeContext
anatoly [Sun, 27 Mar 2011 20:16:25 +0000 (22:16 +0200)]
Add support for picture_ptr field in MJpegDecodeContext

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoMove MJPEG's input buffer preprocessing in separate public function
anatoly [Sun, 27 Mar 2011 20:16:24 +0000 (22:16 +0200)]
Move MJPEG's input buffer preprocessing in separate public function

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoSupport reference picture defined by bitmask in MJPEG's SOS decoder
anatoly [Sun, 27 Mar 2011 20:16:23 +0000 (22:16 +0200)]
Support reference picture defined by bitmask in MJPEG's SOS decoder

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agosndio bug fix
Brad [Tue, 29 Mar 2011 23:37:57 +0000 (19:37 -0400)]
sndio bug fix

Since the code already supports both little- and big-endian
audio for recording, do not fail just because the endianness is not
what we expect.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agoac3enc: move compute_mantissa_size() to ac3dsp
Mans Rullgard [Fri, 11 Mar 2011 17:16:27 +0000 (17:16 +0000)]
ac3enc: move compute_mantissa_size() to ac3dsp

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoac3enc: move mant*_cnt and qmant*_ptr out of AC3EncodeContext
Mans Rullgard [Sun, 13 Mar 2011 16:22:07 +0000 (16:22 +0000)]
ac3enc: move mant*_cnt and qmant*_ptr out of AC3EncodeContext

These fields are only used in quantize_mantissas() and reset
on each call, no need to store them in the main context.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoRemove support for stripping executables
Mans Rullgard [Tue, 29 Mar 2011 19:50:26 +0000 (20:50 +0100)]
Remove support for stripping executables

Stripping is generally best left to package management tools, and
since unstripped copies are kept in the build tree, any arguments
about saving space (no matter how insignificant) are void.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoac3enc: NEON optimised float_to_fixed24
Mans Rullgard [Tue, 29 Mar 2011 01:30:13 +0000 (02:30 +0100)]
ac3enc: NEON optimised float_to_fixed24

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoac3: move ff_ac3_bit_alloc_calc_bap to ac3dsp
Mans Rullgard [Fri, 11 Mar 2011 02:49:55 +0000 (02:49 +0000)]
ac3: move ff_ac3_bit_alloc_calc_bap to ac3dsp

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agodfa: protect pointer range checks against overflows.
Ronald S. Bultje [Tue, 29 Mar 2011 14:14:44 +0000 (07:14 -0700)]
dfa: protect pointer range checks against overflows.

8 years agomimic: implement multithreading.
Alexander Strange [Tue, 29 Mar 2011 04:44:38 +0000 (21:44 -0700)]
mimic: implement multithreading.

8 years agoid3v1: change filesize to int64_t.
Carl Eugen Hoyos [Fri, 25 Mar 2011 18:46:28 +0000 (19:46 +0100)]
id3v1: change filesize to int64_t.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agoid3v1: Seek back to old position after reading.
Carl Eugen Hoyos [Fri, 25 Mar 2011 18:46:27 +0000 (19:46 +0100)]
id3v1: Seek back to old position after reading.

FFmpeg did not seek back to the original position, but to "0", making
reading a VBR tag impossible.
(issue 2645)

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agoac3enc: avoid memcpy() of exponents and baps in EXP_REUSE case by using
Justin Ruggles [Mon, 28 Mar 2011 18:01:27 +0000 (14:01 -0400)]
ac3enc: avoid memcpy() of exponents and baps in EXP_REUSE case by using
exponent reference blocks.

8 years agoChronomaster DFA decoder
Kostya Shishkov [Tue, 15 Mar 2011 08:37:48 +0000 (09:37 +0100)]
Chronomaster DFA decoder

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoframebuffer device demuxer
Stefano Sabatini [Mon, 7 Mar 2011 17:54:52 +0000 (18:54 +0100)]
framebuffer device demuxer

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agocosmetics: fix dashed line length after 070c5d0
Janne Grunau [Mon, 28 Mar 2011 07:53:40 +0000 (09:53 +0200)]
cosmetics: fix dashed line length after 070c5d0

8 years agohttp: header field names are case insensitive
Tyler [Sun, 27 Mar 2011 00:59:09 +0000 (17:59 -0700)]
http: header field names are case insensitive

Amazon S3 sends header field names all lowercase.
This is actually acceptable according to the HTTP standard.

http://tools.ietf.org/html/rfc2616#section-4.2

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years agoac3enc: Add codec-specific options for writing AC-3 metadata.
Justin Ruggles [Fri, 25 Mar 2011 21:12:26 +0000 (17:12 -0400)]
ac3enc: Add codec-specific options for writing AC-3 metadata.

8 years agoRemove arrozcru URL from documentation
Ramiro Polla [Sun, 27 Mar 2011 00:22:23 +0000 (21:22 -0300)]
Remove arrozcru URL from documentation

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agosndio support for playback and record
Brad [Sat, 26 Mar 2011 23:03:41 +0000 (19:03 -0400)]
sndio support for playback and record

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agodsputil: allow to skip drawing of top/bottom edges.
Alexander Strange [Sat, 26 Mar 2011 21:31:13 +0000 (17:31 -0400)]
dsputil: allow to skip drawing of top/bottom edges.

8 years agoSplit fate-psx-str-v3 into a video-only and audio-only test.
Ronald S. Bultje [Sat, 26 Mar 2011 20:28:16 +0000 (16:28 -0400)]
Split fate-psx-str-v3 into a video-only and audio-only test.

8 years agomov: set audio service type for AC-3 from bitstream mode in the 'dac3' atom.
Justin Ruggles [Thu, 24 Mar 2011 16:42:05 +0000 (12:42 -0400)]
mov: set audio service type for AC-3 from bitstream mode in the 'dac3' atom.

8 years agoGet audio_service_type for AC-3 based on bitstream mode in the AC-3 parser
Justin Ruggles [Thu, 24 Mar 2011 16:10:38 +0000 (12:10 -0400)]
Get audio_service_type for AC-3 based on bitstream mode in the AC-3 parser
and decoder, and vice-versa for the AC-3 encoder.

8 years agoUse audio_service_type to set stream disposition.
Justin Ruggles [Thu, 24 Mar 2011 16:09:02 +0000 (12:09 -0400)]
Use audio_service_type to set stream disposition.

8 years agoAdd APIchanges entry for audio_service_type.
Justin Ruggles [Thu, 24 Mar 2011 16:08:13 +0000 (12:08 -0400)]
Add APIchanges entry for audio_service_type.

8 years agoAdd audio_service_type field to AVCodecContext for encoding and reporting
Justin Ruggles [Thu, 24 Mar 2011 16:00:21 +0000 (12:00 -0400)]
Add audio_service_type field to AVCodecContext for encoding and reporting
of the service type in the audio bitstream.

8 years agoconfigure: in check_ld, place new -l flags before existing ones
Mans Rullgard [Fri, 25 Mar 2011 19:26:10 +0000 (19:26 +0000)]
configure: in check_ld, place new -l flags before existing ones

This fixes some library tests when --as-needed is in effect.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agosupport @heading, @subheading, @subsubheading, and @subsubsection in
Justin Ruggles [Thu, 24 Mar 2011 22:39:19 +0000 (18:39 -0400)]
support @heading, @subheading, @subsubheading, and @subsubsection in
texi2pod.pl

8 years agodoc: update build system documentation
Luca Barbato [Mon, 21 Mar 2011 23:20:56 +0000 (00:20 +0100)]
doc: update build system documentation

Split normal build system documentation and the fate one.

Document THREADS make variable and provide an introduction to fate.
Document DESTDIR make variable and add some generic targets.

8 years agoaacenc: indentation
Young Han Lee [Fri, 25 Mar 2011 03:17:48 +0000 (12:17 +0900)]
aacenc: indentation

8 years agoaacenc: fix the side calculation in search_for_ms
Young Han Lee [Thu, 24 Mar 2011 01:49:36 +0000 (10:49 +0900)]
aacenc: fix the side calculation in search_for_ms

8 years agovp8.c: rename EDGE_* to VP8_EDGE_*.
Alexander Strange [Fri, 25 Mar 2011 01:20:13 +0000 (21:20 -0400)]
vp8.c: rename EDGE_* to VP8_EDGE_*.

8 years agomatroskadec: set default duration for simple block
John Stebbins [Thu, 24 Mar 2011 23:34:18 +0000 (00:34 +0100)]
matroskadec: set default duration for simple block

When a normal Block is parsed, duration is initialized to
AV_NOPTS_VALUE.  If it is not changed, then the track's default
duration is used.  But for SimpleBlock, duration is initialized to
0 instead of AV_NOPTS_VALUE.  This is due to the difference in how
EBML_NEST vs EBML_PASS are processed.  Setting duration to 0 leads
eventually to wrongly estimate the frame duration in util.c

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years agoWhen building for MinGW32 disable strict ANSI compliancy.
Diego Elio Pettenò [Thu, 24 Mar 2011 11:18:35 +0000 (12:18 +0100)]
When building for MinGW32 disable strict ANSI compliancy.

When -std=c99 is used, GCC defines __STRICT_ANSI__ to hide non-ANSI
interfaces; on MinGW32, when this macro is defined, some functions that are
part of POSIX but not of Windows APIs are disabled, including strcasecmp().

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years agoARM: fix ff_apply_window_int16_neon() prototype
Mans Rullgard [Thu, 24 Mar 2011 20:22:34 +0000 (20:22 +0000)]
ARM: fix ff_apply_window_int16_neon() prototype

The length argument should be unsigned.  No change in code.

Signed-off-by: Mans Rullgard <mans@mansr.com>