Justin Ruggles
c766eb1ce1
ac3enc: add macros for option names to make them more understandable.
14 years ago
Justin Ruggles
9542ca9fb7
ac3enc: fix 'channel_coupling' option to actually allow 'auto'.
Use 'auto' as the default value.
14 years ago
Mans Rullgard
4a71da0f3a
cavs: fix some crashes with invalid bitstreams
This removes all valgrind-reported invalid writes with one
specific test file.
Fixes http://www.ocert.org/advisories/ocert-2011-002.html
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Justin Ruggles
069083a419
ac3enc: clip coupling coordinates during calculation
This is faster than using the clip_coefficients() function. Also,
clipping the coordinates before determining reuse is better since it
will compare coordinates that are closer to their final encoded values.
14 years ago
Justin Ruggles
d271d5b215
Remove incorrect info in documentation of AVCodecContext.bits_per_raw_sample.
bits_per_raw_sample is used in video as well, where sample_fmt is not used.
14 years ago
Baptiste Coudurier
1d36fb13b0
lavc: fix parentheses placement in avcodec_open2().
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Anton Khirnov
7221139ba0
lavc: make avcodec_init() static on next bump.
It's called from avcodec_register() anyway, so there's no reason for it
to be public.
14 years ago
Justin Ruggles
d1d33e0763
ac3enc: remove unneeded #include
14 years ago
Justin Ruggles
fce33f9ead
ac3enc: restructure coupling coordinate reuse calculation
14 years ago
Justin Ruggles
c3d63262fe
ac3enc: allow new coupling coordinates to be sent independently for each
channel.
14 years ago
Justin Ruggles
d55ad59a8a
ac3enc: separate exponent bit counting from exponent grouping.
Move bit counting to the bit allocation function. Move exponent grouping to
after bit allocation. This will allow for adjustment of bandwidth parameters
during bit allocation without having to do exponent grouping multiple times.
14 years ago
Dustin Brody
12fe759423
h264: propagate error return values for AV_LOG_ERROR-triggering events
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Alex Converse
94d47382e0
aac: Don't attempt to output configure an invalid channel configuration.
14 years ago
Anton Khirnov
4d58e4cb4c
Rename ffserver to avserver.
14 years ago
Anton Khirnov
9e12f0bf5f
Rename ffprobe to avprobe.
14 years ago
Anton Khirnov
266463daff
Rename ffplay to avplay.
14 years ago
Kostya Shishkov
7351eb1415
Pretty-print RV3/4 decoder source
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Kostya Shishkov
9791c02733
Saner RV1/2 initialisation and RV2 header parsing.
Old version was based on lots of guesswork which had different hacks based on
32-bit version field instead of splitting it into major/minor/micro version.
RV2 picture header parser also had a few places where it deviated from binary
decoder.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Baptiste Coudurier
5caa2de19e
libx264: do not set pic quality if no frame is output
Avoids uninitialized reads.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Baptiste Coudurier
07a227b432
libx264: add preset, tune, profile and fastfirstpass private options
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Dustin Brody
b2700a5c7c
lavc: fix misspelling in comment
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Dustin Brody
680b1852ab
aac: propagate error return values for AV_LOG_ERROR-triggering events
14 years ago
Stefano Sabatini
6a92551234
lsws: remove optimization debug logs in sws_init_context()
The logged information is possibly false, and it tends to be outdated
after each change since the logging code needs to be manually updated.
Simplify and prevent confusing wrong debug messages.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Stefano Sabatini
347167ecf5
lsws: use array for storing the supported in/out information
Also remove the unnecessary isSupportedIn/Out macros.
Make the code more compact/readable, and simplify the access to
lsws-specific pixel format information.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Luca Barbato
1bf6cb85be
applehttp: fix variant discard logic
The v->ctx is always not NULL now, check for streams presence to
mark the read_header state.
Fixes bug #25, possibly introduced by 603b8bc
14 years ago
Alex Converse
ad62507f32
h263dec: Fix asserts broken by the elimination of FF_COMMON_FRAME.
14 years ago
Diego Biurrun
fed6c90b68
cosmetics: remove some stray comments from AVCodec declarations
14 years ago
Diego Biurrun
933a6fd5a1
cosmetics: fix indentation/alignment in AVCodec declarations
14 years ago
Måns Rullgård
9a83adaf34
arm: Avoid using the movw instruction needlessly
This fixes building for ARM11 without Thumb2.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
d0a2f0af9d
Move an int64_t down in MpegEncContext
This allows using the same arm assembler offsets for both EABI
and the mach-o ABI.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Ronald S. Bultje
62ee0e6a97
Revert "swscale: use 15-bit intermediates for 9/10-bit scaling."
This reverts commit ac0fb59348
. It
causes valgrind errors which I'll want to investigate before
resubmitting this.
14 years ago
Ronald S. Bultje
ac0fb59348
swscale: use 15-bit intermediates for 9/10-bit scaling.
14 years ago
Vitor Sessak
18b131de04
dct32: Add SSE2 ASM optimizations
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Kostya Shishkov
6f7fe4723b
Correct chroma vector calculation for RealVideo 3.
Old version divided it wrong, which resulted in chroma drift (visible on FATE
sample too as dirty trails left by clouds).
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Zohar Kelrich
73e8e8dbf9
lavf: Add an option to discard corrupted frames
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Zohar Kelrich
5081514269
mpegts: Mark wrongly-sized packets as corrupted
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Zohar Kelrich
cdb9884a63
mpegts: Move scan test to handle_packets
This fixes an issue where packets which start being read
while reading the header stick around after a seek.
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Zohar Kelrich
ce9e31655e
mpegts: Mark corrupted packets
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Zohar Kelrich
c64f80b0e8
mpegts: Reset continuity counter on seek
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Zohar Kelrich
8b9df201df
mpegts: Fix for continuity counter
Make continuity counter respect discontinuity flag
and null packets. Unpack the adaptation_field_control field.
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Zohar Kelrich
be9c00615b
mpegts: Silence "can't seek" warning on unseekable
Do not try to seek when we already know we are not allowed to.
Silences warning that always happens when streaming.
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Luca Barbato
5038f9b268
apichange: add an entry for AV_PKT_FLAG_CORRUPT
14 years ago
Luca Barbato
9d39cbf6cf
avpacket: signal possibly corrupted packets
Use AV_PKT_FLAG_CORRUPT flag to mark packets that might be incomplete
or have errors. Formats that have a mean to validate their packets
should use this flag to deliver such information instead of silently
dropping the packets.
14 years ago
Dustin Brody
4326f6f525
mpeg4videodec: remove dead code that would have detected erroneous encoding
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Alex Converse
a6c49f18ab
aac: Remove some suspicious illegal memcpy()s from LTP.
14 years ago
Alex Converse
e11a5fccb2
bink: Eliminate unnecessary shadow declaration.
14 years ago
Anton Khirnov
b4ea1c5a77
Remove the ffserver test.
It doesn't work and is therefore useless.
14 years ago
Anton Khirnov
e5fc6ab665
Remove ffserver.h
It's unused an serves no purpose.
14 years ago
Dustin Brody
18cb40f074
lavc: Deprecate unused FF_ER_VERY_AGGRESSIVE
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Yu-Jie Lin
1442d29533
x11grab: add show_region AVOption.
Draw the current grabbing region for indication.
Signed-off-by: Yu-Jie Lin <livibetter@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago