1fe7c1be54
libvorbis: remove unneeded e_o_s check
...
vorbis_bitrate_flushpacket() does not return any packets that should not be
output in the bitstream.
2012-02-29 14:54:24 -05:00
94025d8a99
libvorbis: check return values for functions that can return errors
2012-02-29 14:54:24 -05:00
c5063e0348
libvorbis: use float input instead of s16
...
libvorbis takes float input, so we can just deinterleave/reorder the input
as-is instead of also converting.
2012-02-29 14:54:24 -05:00
f15c4281dc
libvorbis: do not flush libvorbis analysis if dsp state was not initialized
...
Fixes a segfault if init() fails before initializing the dsp state
2012-02-29 14:54:23 -05:00
147ff24a0e
libvorbis: use VBR by default, with default quality of 3
2012-02-29 14:54:20 -05:00
182d4f1f38
libvorbis: fix use of minrate/maxrate AVOptions
...
- enable the options for audio encoding
- properly check for user-set maxrate
- use correct calling order in vorbis_encode_setup_managed()
2012-02-29 14:44:15 -05:00
eb35ef2932
libvorbis: cosmetics: renaming/pretty-printing/comments/unused code
2012-02-29 14:44:15 -05:00
4e99501f62
(e)ac3enc: select a default bit rate based on the channel layout
2012-02-29 14:36:00 -05:00
6aeea1dfb2
ac3enc: choose the closest bit rate to the one requested instead of failing
2012-02-29 14:36:00 -05:00
78e9852a2e
rpza: error out on buffer overreads.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2012-02-29 11:21:01 -08:00
e54ae60e46
qtrle: return error on decode_init() failure.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2012-02-29 11:20:29 -08:00
791de61bbb
swscale: fix another integer overflow.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
2012-02-29 11:19:03 -08:00
85b221e4d3
dpxenc: Don't include the libavcodec ident if bitexact mode is enabled
...
This avoids breaking fate every time the lavc version is bumped.
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-02-29 20:08:09 +02:00
33b9fe562a
encode_video2: shrink packet after encoding.
...
With the encode2 API, encoders allocate huge packets to be
sure they have enough room (a typical case is mpeg4, which
allocs ~10M for 1280x768 yuv420p) but only actually use a
very small part of the buffer.
2012-02-29 17:00:26 +01:00
07ec1f2140
rtpenc: Fix setting the max packet size
...
This fixes cases where the user had specified one desired MTU
via an option, and the protocol indicates another one.
Signed-off-by: Martin Storsjö <martin@martin.st >
2012-02-29 16:48:01 +02:00
322537478b
Add a minor bump, changelog/APIchanges entry and some documentation for APIC support.
2012-02-29 14:44:22 +01:00
2dfea12058
mp3enc: write attached pictures (APIC).
2012-02-29 14:37:00 +01:00
c68148b1ea
mp3enc: move mp3_write_xing() further up in the file.
...
It will be need by new functions called from mp3_write_trailer().
2012-02-29 14:36:45 +01:00
ba445f5557
id3v2enc: add a function for writing attached pictures.
...
Unused so far.
2012-02-29 14:31:17 +01:00
24fe1a3b16
id3v2enc: fix writing frame sizes for ID3v2.3
...
Frame sizes in ID3v2.3 are not synchsafe, they are simply 32be numbers.
In practice this bug is not noticeable unless the frame size takes more
than 7 bits (which is almost never for text frames).
2012-02-29 14:30:14 +01:00
411225aabc
id3v2enc: split ff_id3v2_write().
...
This will allow writing the tag in several steps, needed for writing
attached pictures.
2012-02-29 14:26:14 +01:00
c199817748
id3v2enc: make id3v2_put_size take only an AVIOContext.
...
It has no need of full AVFormatContext.
2012-02-29 14:25:33 +01:00
393fd0d89e
id3v2: remove unused ff_id3v2_read().
...
Rename ff_id3v2_read_all to ff_id3v2_read().
2012-02-29 14:19:42 +01:00
079ea6ca5f
lavf: export id3v2 attached pictures as streams.
2012-02-29 14:16:32 +01:00
dd2a4bcfd7
lavf: generic code for exporting attached pictures.
2012-02-29 14:16:25 +01:00
a93b09cb45
id3v2: read attached pictures and export them in ID3v2ExtraMeta.
2012-02-29 14:14:48 +01:00
b73ad74660
lavf: move CodecMime from matroska.h to internal.h
...
it will be useful for attached pictures in ID3v2
2012-02-29 13:57:59 +01:00
eaea76d72c
swfdec: do not set codec timebase.
...
It is not supposed to be set outside of lavc.
Fixes a divide by zero when the stored framerate is 0.
2012-02-29 13:52:55 +01:00
12b812d2e5
prores: store and retrieve extended colourspace information
...
Based on the patch by Phil Barrett.
2012-02-29 09:29:02 +01:00
c7084182e8
proresenc: correct edge emulation
...
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com >
2012-02-29 09:28:45 +01:00
235d693286
prores: handle 444 chroma in right order
...
ProRes codes chroma blocks in 444 mode in different order than luma blocks,
so make both decoder and encoder read/write chroma blocks in right order.
Reported by Phil Barrett
2012-02-29 09:28:34 +01:00
23bfcc066d
mpegvideo_enc: add quantizer_noise_shaping private option.
...
Deprecate corresponding AVCodecContext field.
2012-02-29 07:26:24 +01:00
16b7557b79
lavc: deprecate AVCodecContext.inter_threshold.
...
It's unused.
2012-02-29 07:25:44 +01:00
4f07f8196c
lavc: deprecate AVCodecContext.color_table_id.
...
It's currently only used as temporary storage by the mov demuxer. Make
it use a local variable instead.
2012-02-29 07:25:00 +01:00
e0f68413dd
avplay: remove an unused variable.
2012-02-29 07:24:34 +01:00
63efd83ae1
mpegvideo_enc: add chroma/luma_elim_threshold private options.
...
Deprecate corresponding AVCodecContext fields.
2012-02-29 07:23:31 +01:00
af3d804f9f
mpegvideo_enc: add cbp_rd flag to mpv_flags.
...
Deprecate CODEC_FLAG_CBP_RD.
2012-02-29 07:13:58 +01:00
ff71a383ac
mpegvideo_enc: add qp_rd flag to mpv_flags.
...
Deprecate CODEC_FLAG_QP_RD.
2012-02-29 07:12:10 +01:00
a249f0cc23
mpegvideo_enc: add strict_gop flag to mpv_flags.
...
Deprecate CODEC_FLAG2_STRICT_GOP.
2012-02-29 07:11:02 +01:00
ed019b8e5b
lavc: add -mpv_flags to mpegvideo_enc-based encoders.
...
Deprecate CODEC_FLAG2_SKIP_RD in favor of the corresponding mpv_flags
flag.
2012-02-29 07:09:29 +01:00
52ae41a874
fate: disable deshake test as it isnt binary identical across archs.
...
probably due to float rounding
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-02-29 07:03:04 +01:00
956fb91e03
aacdec: Support stereo streams that erroneously signal predefined channel configuration 1 (mono).
...
[alex.converse@mgail.com ]
Move code to get_che()
Update for AAC new channel configuration interface
Only set chan_config if output_configure succeeds.
Signed-off-by: Alex Converse <alex.converse@gmail.com >
2012-02-28 21:38:16 -08:00
2564f6e6d4
aacdec: Reshuffle functions so get_che() can call set_default_channel_config() and output_configure().
2012-02-28 21:38:15 -08:00
6aca18a9a0
vmnc: Fail if bpp is not recognized instead of crashing.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-02-29 06:27:38 +01:00
c250063523
get_buffers: Check that pix_fmt is not NONE.
...
This is somewhat redundant as no decoder should call get_buffer() with such argument.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-02-29 06:27:38 +01:00
8534881a38
alsdec: Check that quantized parcor coeffs are within range.
...
ALS spec:
11.6.3.1.1 Quantization and encoding of parcor coefficients
...
In all cases the resulting quantized values ak are restricted to the range [-64,63].
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-02-29 06:20:07 +01:00
f5bf7b9f4b
libpostproc: fix out of array accesses detected by AddressSanitizer.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-02-29 04:25:13 +01:00
f54e06feb3
vf_deshake: try to fix memleak
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-02-29 02:33:32 +01:00
9aa7b3cd53
fate: switch lavfi-pp targets which need bitexact flags to use them.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-02-29 02:24:59 +01:00
7f80afe0a7
libpostproc: add bitexact mode, which is needed for regression testing.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2012-02-29 02:05:54 +01:00