Alex Converse [Tue, 10 May 2011 21:24:05 +0000 (14:24 -0700)]
Allow resampling with no channel count change for up to 8 channels.
Alex Converse [Tue, 10 May 2011 22:10:31 +0000 (15:10 -0700)]
Don't allow unsupported resampling configurations.
Jason Garrett-Glaser [Tue, 10 May 2011 15:55:12 +0000 (08:55 -0700)]
Port x86 10-bit H.264 deblock asm from x264
Jason Garrett-Glaser [Tue, 10 May 2011 14:08:24 +0000 (07:08 -0700)]
Update x86 H.264 deblock asm
Includes AVX versions from x264.
Anton Khirnov [Sat, 30 Apr 2011 05:43:26 +0000 (07:43 +0200)]
AVOptions: make default_val a union, as proposed in AVOption2.
This breaks API and ABI.
Ronald S. Bultje [Tue, 10 May 2011 12:44:49 +0000 (08:44 -0400)]
arm/h264pred: add missing argument type.
Ronald S. Bultje [Tue, 10 May 2011 12:39:38 +0000 (08:39 -0400)]
h264dsp_mmx: place bracket outside #if/#endif block.
Should fix compile on systems missing yasm/nasm.
Vitor Sessak [Sat, 7 May 2011 20:48:29 +0000 (22:48 +0200)]
lavf/utils: fix ff_interleave_compare_dts corner case.
This should fix behavior introduced by commit
96573c0d7605672d69b42ae1dcf18764ce47c71a. Av_rescale_rnd() is not
lossless so if two timestamps are equal after being rescaled they are
not always actually identical. This patch use av_compare_ts() to get
always a correct result.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Ronald S. Bultje [Sat, 7 May 2011 01:46:54 +0000 (21:46 -0400)]
fate: add 10-bit H264 tests.
Ronald S. Bultje [Fri, 6 May 2011 20:31:26 +0000 (16:31 -0400)]
h264: do not print "too many references" warning for intra-only.
Fixes issue 2679.
Oskar Arvidsson [Tue, 29 Mar 2011 15:49:00 +0000 (17:49 +0200)]
Enable decoding of high bit depth h264.
This patch completes the high bit depth h264 decoding support.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Oskar Arvidsson [Tue, 29 Mar 2011 15:48:59 +0000 (17:48 +0200)]
Adds 8-, 9- and 10-bit versions of some of the functions used by the h264 decoder.
This patch lets e.g. dsputil_init chose dsp functions with respect to
the bit depth to decode. The naming scheme of bit depth dependent
functions is <base name>_<bit depth>[_<prefix>] (i.e. the old
clear_blocks_c is now named clear_blocks_8_c).
Note: Some of the functions for high bit depth is not dependent on the
bit depth, but only on the pixel size. This leaves some room for
optimizing binary size.
Preparatory patch for high bit depth h264 decoding support.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Oskar Arvidsson [Tue, 29 Mar 2011 15:48:58 +0000 (17:48 +0200)]
Add support for higher QP values in h264.
In high bit depth, the QP values may now be up to (51 + 6*(bit_depth-8)).
Preparatory patch for high bit depth h264 decoding support.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Oskar Arvidsson [Tue, 29 Mar 2011 15:48:57 +0000 (17:48 +0200)]
Add the notion of pixel size in h264 related functions.
In high bit depth the pixels will not be stored in uint8_t like in the
normal case, but in uint16_t. The pixel size is thus 1 in normal bit
depth and 2 in high bit depth.
Preparatory patch for high bit depth h264 decoding support.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Oskar Arvidsson [Tue, 29 Mar 2011 15:48:56 +0000 (17:48 +0200)]
Make the h264 loop filter bit depth aware.
Preparatory patch for high bit depth h264 decoding support.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Oskar Arvidsson [Tue, 29 Mar 2011 15:48:55 +0000 (17:48 +0200)]
Template dsputil_template.c with respect to pixel size, etc.
Preparatory patch for high bit depth h264 decoding support.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Oskar Arvidsson [Tue, 29 Mar 2011 15:48:54 +0000 (17:48 +0200)]
Template h264idct_template.c with respect to pixel size, etc.
Preparatory patch for high bit depth h264 decoding support.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Oskar Arvidsson [Mon, 9 May 2011 15:18:37 +0000 (11:18 -0400)]
Preparatory patch for high bit depth h264 decoding support.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Oskar Arvidsson [Tue, 29 Mar 2011 15:48:51 +0000 (17:48 +0200)]
Move some functions in dsputil.c into a new file dsputil_template.c.
The functions moved are used when decoding h264.
Preparatory patch for high bit depth h264 decoding support.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Oskar Arvidsson [Tue, 29 Mar 2011 15:48:50 +0000 (17:48 +0200)]
Move the functions in h264idct into a new file h264idct_template.c.
Preparatory patch for high bit depth h264 decoding support.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Oskar Arvidsson [Tue, 29 Mar 2011 15:48:49 +0000 (17:48 +0200)]
Move the functions in h264pred.c into a new file h264pred_template.c.
Preparatory patch for high bit depth h264 decoding support.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Oskar Arvidsson [Mon, 9 May 2011 14:58:40 +0000 (10:58 -0400)]
Preparatory patch for high bit depth h264 decoding support.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Oskar Arvidsson [Tue, 29 Mar 2011 15:48:47 +0000 (17:48 +0200)]
Add pixel formats for 9- and 10-bit yuv420p.
Also add support for these formats in libswscale.
Needed for high bit depth h264 decoding.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Oskar Arvidsson [Sun, 10 Apr 2011 20:42:36 +0000 (22:42 +0200)]
Choose h264 chroma dc dequant function dynamically.
Needed for high bit depth h264 decoding.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Ronald S. Bultje [Mon, 9 May 2011 13:48:21 +0000 (09:48 -0400)]
h264: DSP'ize MBAFF loopfilter.
Alexander Strange [Tue, 10 May 2011 05:53:46 +0000 (01:53 -0400)]
ffmpeg: Simplify decode loop condition to not use next_pts
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Anton Khirnov [Sat, 2 Apr 2011 10:28:01 +0000 (12:28 +0200)]
lavc: move some flac-specific options to its private context.
Stefano Sabatini [Sat, 16 Apr 2011 21:14:44 +0000 (23:14 +0200)]
ffmpeg: remove unused fields AVOutputStream.original_width/height
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Stefano Sabatini [Sat, 16 Apr 2011 20:51:04 +0000 (22:51 +0200)]
ffmpeg: remove unused variable padding_src in do_video_out()
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Michael Niedermayer [Mon, 18 Apr 2011 11:04:33 +0000 (13:04 +0200)]
ffmpeg: fix negative verbosity.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Stefano Sabatini [Sat, 16 Apr 2011 11:41:53 +0000 (13:41 +0200)]
cmdutils: add OPT_INT check in parse_number_or_die()
Check that the value passed for an OPT_INT option is an int, fail
otherwise.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Stefano Sabatini [Sun, 3 Apr 2011 19:54:57 +0000 (21:54 +0200)]
ffmpeg: rename configure_filters() to configure_video_filters()
Mostly useful for the audio-filters branch, to make more apparent the
distinction between configure_audio_filters() and
configure_video_filters().
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Stefano Sabatini [Sat, 12 Mar 2011 11:44:22 +0000 (12:44 +0100)]
cmdutils: remove list_fmts(), simplify
The function was only used in opt_sample_fmt() for listing the sample
formats. Move list_fmts() functionality directly into
opt_sample_fmt().
Also fix the warning:
ffmpeg.c: In function ‘opt_audio_sample_fmt’:
ffmpeg.c:2877: warning: passing argument 1 of ‘list_fmts’ from incompatible pointer type
cmdutils.h:163: note: expected ‘void (*)(char *, int, int)’ but argument is of type ‘char * (*)(char *, int, enum AVSampleFormat)’
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Takashi Mochizuki [Sun, 1 May 2011 03:03:20 +0000 (12:03 +0900)]
Add missing CONFIG_AVFILTER check.
Fix configure --disable-avfilter issue.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Mans Rullgard [Mon, 9 May 2011 12:55:24 +0000 (13:55 +0100)]
mpegaudiodec: group #includes more sanely
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Mon, 9 May 2011 12:08:08 +0000 (13:08 +0100)]
mpegaudio: remove #if 0 blocks
Signed-off-by: Mans Rullgard <mans@mansr.com>
Anton Khirnov [Sat, 7 May 2011 06:55:25 +0000 (08:55 +0200)]
ffmpeg.c: reset avoptions after each input/output file.
This is consistent with how all the other options work.
Anton Khirnov [Mon, 9 May 2011 14:36:57 +0000 (16:36 +0200)]
ffmpeg.c: store per-output stream sws flags.
Mans Rullgard [Mon, 9 May 2011 11:40:37 +0000 (12:40 +0100)]
mpegaudio: remove CONFIG_MPEGAUDIO_HP option
The low quality mode is off by default and never tested. The high
quality mode is also plenty fast enough.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Martin Storsjö [Mon, 9 May 2011 13:29:01 +0000 (16:29 +0300)]
mpegtsenc: Clear st->priv_data when freeing it
If not cleared, the caller might try to free it.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Mon, 9 May 2011 13:56:56 +0000 (16:56 +0300)]
udp: Fix receiving RTP data over multicast
Earlier, AVIO_RDWR was handled as READ, and all the checks
for the AVIO_WRONLY flag explicitly meant the write-only case.
When changed from old AVIO/URL contants to AVIO_FLAG in
59d96941f0285a5, these comparisons were updated incorrectly, by
mapping checks for AVIO_WRONLY to checks for AVIO_FLAG_WRITE.
When receiving RTP over UDP, the urlcontext is opened with
READ_WRITE flags.
This patch updates the flag comparisons to check for the same
conditions as the code did prior to
59d96941f0285a5.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Mon, 9 May 2011 13:50:03 +0000 (16:50 +0300)]
rtpproto: Remove an unused variable
Signed-off-by: Martin Storsjö <martin@martin.st>
Mans Rullgard [Mon, 9 May 2011 11:00:56 +0000 (12:00 +0100)]
regtest: fix wma tests
This adds $DEC_OPTS to the wma decode commands, making tests pass
on systems where the bitexact flag is needed.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sun, 8 May 2011 20:44:12 +0000 (21:44 +0100)]
mpegaudio: remove CONFIG_AUDIO_NONSHORT
This fake option cannot be enabled by normal means, and the
floating-point decoder should provide the higher quality this
option presumably was intended for.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 7 May 2011 12:57:21 +0000 (13:57 +0100)]
regtest: separate flags for encoding and decoding
This separates encoding and decoding flags, and passes them together
with the related file argument instead of all at the start of the
command line.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Alex Converse [Fri, 6 May 2011 05:33:31 +0000 (22:33 -0700)]
log: Fix an oob array read.
Alex Converse [Fri, 6 May 2011 05:33:30 +0000 (22:33 -0700)]
cosmetics: trim trailing whitespace in postproc
Alex Converse [Tue, 3 May 2011 18:21:49 +0000 (11:21 -0700)]
Ban strncpy() it's too easy to misuse.
Nathan Caldwell [Fri, 6 May 2011 07:19:52 +0000 (01:19 -0600)]
psymodel: Remove wrapper functions.
Instead use the function pointers directly.
Nathan Caldwell [Fri, 6 May 2011 07:19:51 +0000 (01:19 -0600)]
aacenc: Replace loop counters in aac_encode_frame() with more descriptive 'ch' and 'w'.
Mans Rullgard [Sat, 7 May 2011 12:52:04 +0000 (13:52 +0100)]
regtest: remove redundant flags in jpg test
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 7 May 2011 12:33:00 +0000 (13:33 +0100)]
regtest: use run_ffmpeg in do_image_formats
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 7 May 2011 10:55:48 +0000 (11:55 +0100)]
regtest: simplify encoding functions
The video encoding options were needlessly split in two parameters
which are merged. The do_audio_encoding function did not use its
second argument, so this can be removed.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Anton Khirnov [Fri, 6 May 2011 15:59:15 +0000 (17:59 +0200)]
ffmpeg.c: check for interlaced flag in the correct place.
In the corresponding codec context, not global options storage.
Stefano Sabatini [Sat, 2 Apr 2011 09:27:09 +0000 (11:27 +0200)]
drawtext: add documentation for the shadow parameters
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Michael Niedermayer [Tue, 22 Feb 2011 00:41:52 +0000 (01:41 +0100)]
drawtext: add shadow support.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Michael Niedermayer [Tue, 22 Feb 2011 00:11:35 +0000 (01:11 +0100)]
drawtext: factor draw_glyphs.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Michael Niedermayer [Mon, 21 Feb 2011 23:54:48 +0000 (00:54 +0100)]
drawtext: fix and optimize yuv blend.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Michael Niedermayer [Mon, 21 Feb 2011 23:43:19 +0000 (00:43 +0100)]
drawtext: get rid of divisions in the inner loop.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Michael Niedermayer [Mon, 21 Feb 2011 23:23:31 +0000 (00:23 +0100)]
drawtext: simplify chroma blend and fix chroma alpha.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Stefano Sabatini [Mon, 21 Feb 2011 00:02:29 +0000 (01:02 +0100)]
lavfi: Port drawtext filter by Hemanth from the libavfilter soc repo
With the following additions:
* support to anti-aliased glyph rendering
* support to UTF-8 text and Unicode chars rendering
* support for RGB packed formats
* fix minor errors and typos in the filter description
* extend/clarify examples in the filter description
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Yusuke Nakamura [Fri, 29 Apr 2011 14:39:29 +0000 (23:39 +0900)]
mov: fix composition timestamps on movie fragments.
This fixes, for instance, the case that there is a track that has some samples with composition time offset and has a track run without sample-composition-time-offsets-present.
Alex Converse [Thu, 5 May 2011 18:10:19 +0000 (11:10 -0700)]
wmavoice: Use proper size in memeset().
sizeof(array_functrion_argument) gives the size of the pointer type not
the size of the array to which it points.
Mans Rullgard [Thu, 5 May 2011 15:45:12 +0000 (16:45 +0100)]
configure: warn if pkg-config is missing
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diego Biurrun [Wed, 4 May 2011 18:54:53 +0000 (20:54 +0200)]
doc: Check standalone compilation before submitting new components.
Diego Biurrun [Wed, 4 May 2011 17:20:03 +0000 (19:20 +0200)]
Fix standalone compilation of pipe protocol.
file_check() is not only used by the file protocol, adjust #ifdef accordingly.
Diego Biurrun [Wed, 4 May 2011 17:17:30 +0000 (19:17 +0200)]
Fix standalone compilation of ac3_fixed encoder.
Diego Biurrun [Wed, 4 May 2011 16:48:51 +0000 (18:48 +0200)]
Fix standalone compilation of binkaudio_dct / binkaudio_rdft decoders.
Diego Biurrun [Wed, 4 May 2011 16:48:26 +0000 (18:48 +0200)]
Fix standalone compilation of IMC decoder.
Diego Biurrun [Wed, 4 May 2011 16:47:07 +0000 (18:47 +0200)]
Fix standalone compilation of WTV demuxer.
Diego Biurrun [Wed, 4 May 2011 12:21:27 +0000 (14:21 +0200)]
Fix standalone compilation of MXPEG decoder.
Diego Biurrun [Tue, 3 May 2011 14:08:53 +0000 (16:08 +0200)]
flashsv: K&R cosmetics
Mans Rullgard [Wed, 4 May 2011 16:57:37 +0000 (17:57 +0100)]
matroskaenc: fix memory leak
This fixes a memory leak occurring when no cue points are defined
since commit
91819763.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Ronald S. Bultje [Wed, 4 May 2011 11:40:53 +0000 (07:40 -0400)]
vc1: make overlap filter for I-frames bit-exact.
Ronald S. Bultje [Tue, 3 May 2011 02:09:02 +0000 (22:09 -0400)]
vc1dec: use s->start/end_mb_y instead of passing them as function args.
Ronald S. Bultje [Wed, 4 May 2011 11:35:30 +0000 (07:35 -0400)]
Revert "VC1: merge idct8x8, coeff adjustments and put_pixels."
This reverts commit
f8bed30d8b176fa030f6737765338bb4a2bcabc9. The reason
for this is that the overlap filter, which runs after IDCT, should run
on unclamped values, and thus IDCT and put_pixels() cannot be merged if
we want to attempt to be bitexact.
Alex Converse [Tue, 3 May 2011 18:19:31 +0000 (11:19 -0700)]
Replace strncpy() with av_strlcpy().
Alex Converse [Mon, 25 Apr 2011 00:33:37 +0000 (17:33 -0700)]
indeo3: Eliminate use of long.
Alex Converse [Tue, 26 Apr 2011 16:09:05 +0000 (09:09 -0700)]
get_bits: make cache unsigned to eliminate undefined signed overflow.
Uoti Urpala [Sun, 24 Apr 2011 04:21:30 +0000 (07:21 +0300)]
asfdec: fix assert failure on invalid files
Add an extra size validity check in asf_read_frame_header(). Without
this asf->packet_size_left may become negative, which triggers an
assertion failure later.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Ronald S. Bultje [Wed, 4 May 2011 01:25:40 +0000 (21:25 -0400)]
avfilter: check malloc return values.
Ronald S. Bultje [Tue, 3 May 2011 12:23:41 +0000 (08:23 -0400)]
mpegvideo: reindent.
Ronald S. Bultje [Tue, 3 May 2011 12:19:42 +0000 (08:19 -0400)]
nutenc: check malloc return values.
Ronald S. Bultje [Wed, 27 Apr 2011 15:29:09 +0000 (08:29 -0700)]
avfilter: don't av_malloc(0).
Ronald S. Bultje [Wed, 27 Apr 2011 15:29:02 +0000 (08:29 -0700)]
nutenc: don't av_malloc(0).
Ronald S. Bultje [Wed, 27 Apr 2011 15:28:51 +0000 (08:28 -0700)]
mpegvideo: don't av_malloc(0).
Ronald S. Bultje [Wed, 27 Apr 2011 22:42:16 +0000 (15:42 -0700)]
asfdec: fix parsing of packets that overrun into padding.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Reinhard Tartler [Sun, 1 May 2011 14:48:40 +0000 (16:48 +0200)]
Implement fate-rsync target
Luca Barbato [Thu, 14 Apr 2011 11:32:36 +0000 (13:32 +0200)]
Make ffmpeg support generic data stream
The patch is the first step to support -dcodec copy
Ronald S. Bultje [Mon, 2 May 2011 13:55:52 +0000 (09:55 -0400)]
vp8: frame-multithreading.
Tested on a Mac Pro, 2 CPUs, 2 cores each, OSX 10.6.6:
time ./ffmpeg -v 0 -vsync 0 -threads [1234] -i \
~/Downloads/sintel_trailer_1080p_vp8_vorbis.webm \
-f null -vcodec rawvideo -an -
1: 0m14.630s (89.9 fps)
2: 0m8.056s (163.2 fps)
3: 0m5.882s (223.6 fps)
4: 0m4.952s (265.6 fps)
time ./ffmpeg -v 0 -vsync 0 -threads [1234] -i \
~/Downloads/Elephants_Dream-720p-Stereo.webm \
-f null -vcodec rawvideo -an -
1: 1m12.962s (215.1 fps)
2: 0m44.682s (351.2 fps)
3: 0m31.183s (503.2 fps)
4: 0m25.284s (620.6 fps)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Stefano Sabatini [Fri, 29 Apr 2011 16:53:57 +0000 (18:53 +0200)]
Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Stefano Sabatini [Fri, 29 Apr 2011 14:37:23 +0000 (16:37 +0200)]
Replace deprecated av_get_pict_type_char() with av_get_picture_type_char().
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Kostya Shishkov [Mon, 2 May 2011 08:37:36 +0000 (10:37 +0200)]
dpx: Do not use DPX encoder for decoding.
10l to the one who hasn't checked this.
Diego Biurrun [Fri, 29 Apr 2011 18:15:00 +0000 (20:15 +0200)]
ALPHA: Replace sized int_fast integer types with plain int/unsigned.
int/unsigned is the natural memory access type for CPUs, using sized types
for temporary variables, counters and similar just increases code size and
can possibly cause a slowdown.
Peter Ross [Sat, 26 Mar 2011 04:12:35 +0000 (15:12 +1100)]
DPX image encoder
Peter Ross [Fri, 1 Apr 2011 12:23:28 +0000 (23:23 +1100)]
DPX decoder: read sample aspect ratio
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Reimar Döffinger [Fri, 25 Mar 2011 17:58:07 +0000 (18:58 +0100)]
DPX decoder: add buffer size checks.
Justin Ruggles [Sat, 16 Apr 2011 03:18:33 +0000 (23:18 -0400)]
ac3enc: clip large coefficient values and negative exponents rather than using
av_assert2().
Justin Ruggles [Sat, 16 Apr 2011 02:49:05 +0000 (22:49 -0400)]
ac3enc: do not store a bandwidth code for each channel.
Although AC-3 allows it, it's not very useful. The encoder uses the same code
for all full-bandwidth channels.
Justin Ruggles [Sat, 16 Apr 2011 02:45:05 +0000 (22:45 -0400)]
ac3enc: remove bandwidth reduction as fallback for bit allocation failure.
It was only needed at low bitrates, which now already use a low bandwidth, so
the bandwidth reduction is no longer needed.