Janne Grunau [Thu, 15 Nov 2012 15:21:41 +0000 (16:21 +0100)]
h264: Fix parameters to ff_er_add_slice() call
s->mb_x is reset to zero a couple of lines above. It does not make
sense to call ff_er_add_slice() with 0 as endx when the end of the
macroblock row was reached. Fixes unnecessary and counterproductive
error resilience in https://bugzilla.libav.org/show_bug.cgi?id=394.
CC: libav-stable@libav.org
Janne Grunau [Thu, 15 Nov 2012 21:03:58 +0000 (22:03 +0100)]
h264: always check ref_count for validity
Fixes a crash with zuffed files.
Diego Biurrun [Sun, 15 Jul 2012 13:45:11 +0000 (15:45 +0200)]
x86: dsputil: port to cpuflags
Diego Biurrun [Wed, 14 Nov 2012 00:40:25 +0000 (01:40 +0100)]
crc: av_crc() parameter names should match between .c, .h and doxygen
Janne Grunau [Thu, 25 Oct 2012 14:19:16 +0000 (16:19 +0200)]
avserver: replace av_read_packet with av_read_frame
Janne Grunau [Thu, 25 Oct 2012 13:55:05 +0000 (15:55 +0200)]
avserver: fix constness casting warnings
Use a different char* for extracting info string from the URL. The
other pointer can be made const then which elimates the need for a
cast and fixes the following warnings:
warning: to be safe all intermediate pointers in cast from ‘char **’ to
‘const char **’ must be ‘const’ qualified [-Wcast-qual]
Janne Grunau [Thu, 25 Oct 2012 14:26:06 +0000 (16:26 +0200)]
APIChanges: add entry for av_read_packet deprecation
Janne Grunau [Fri, 26 Oct 2012 18:01:43 +0000 (20:01 +0200)]
mxfdec: fix typo in mxf_read_seek()
Check the number of index tables before using byte offset based seeking
instead of the index_tables pointer.
Found by Måns Rullgård <mans@mansr.com>.
Janne Grunau [Thu, 25 Oct 2012 12:54:48 +0000 (14:54 +0200)]
avserver: use freopen to redirect stdin/out/err to /dev/null
Mans Rullgard [Wed, 25 Apr 2012 12:08:54 +0000 (12:08 +0000)]
avserver: remove daemon mode
This code spews a multitude of warnings with glibc (unchecked
return values), some of them possibly warranted. Furthermore,
the deamonisation is not suitable for use with typical startup
scripts as it does not provide the PID of the daemon in any way.
Users wishing to run avserver as a daemon can still do so using
start-stop-daemon or equivalent tools.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Martin Storsjö [Tue, 13 Nov 2012 17:01:51 +0000 (19:01 +0200)]
configure: Check for -Werror parameters on clang
Signed-off-by: Martin Storsjö <martin@martin.st>
Janne Grunau [Sat, 27 Oct 2012 22:43:12 +0000 (00:43 +0200)]
doxygen: remove obsolete options from Doxyfile
The options USE_INLINE_TREES, SHOW_DIRECTORIES and HTML_ALIGN_MEMBERS
became obsolete with doxygen 1.8.1 (releaded 2012-05-19). The generated
outpu for older doxygen versions should not change since they were set
to the default value.
Diego Biurrun [Sat, 10 Nov 2012 17:10:59 +0000 (18:10 +0100)]
configure: Add option to disable all command line programs
Xi Wang [Wed, 14 Nov 2012 18:45:24 +0000 (13:45 -0500)]
bgmc: Fix av_malloc checks in ff_bgmc_init()
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Luca Barbato [Sun, 11 Nov 2012 19:44:28 +0000 (20:44 +0100)]
rtp: set the payload type as stream id
Support multiple video/audio streams with different format in the
same session.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Luca Barbato [Sat, 10 Nov 2012 15:20:30 +0000 (16:20 +0100)]
avformat: clarify stream id for muxing
Diego Biurrun [Fri, 19 Oct 2012 23:12:18 +0000 (01:12 +0200)]
fate: Add dependencies for aac, alac, amrnb, amrwb, atrac tests
Mans Rullgard [Wed, 14 Nov 2012 00:07:13 +0000 (00:07 +0000)]
ppc: do not pass redundant compiler flags
The -mpowerpc64 and -mpowerpc-gfxopt flags are implicitly set by
-mcpu as needed. Passing them explicitly is redundant and can
conflict with user-supplied flags.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Tue, 13 Nov 2012 15:49:39 +0000 (15:49 +0000)]
avutil: change GET_UTF8 to not use av_log2()
This removes an inter-library dependency on ff_log2_tab causing
linking errors in some configurations.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Xi Wang [Wed, 14 Nov 2012 07:52:32 +0000 (02:52 -0500)]
segment: fix NULL pointer dereference in seg_write_header()
Since the pointer `oc' is NULL, oc->oformat->name will cause a null
pointer dereference. This patch changes it to seg->oformat->name.
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
Diego Biurrun [Mon, 9 Jul 2012 22:04:18 +0000 (00:04 +0200)]
x86: mmx2 ---> mmxext in asm constructs
Diego Biurrun [Fri, 5 Oct 2012 10:12:52 +0000 (12:12 +0200)]
Drop broken and unused CABAC test program.
Diego Biurrun [Sun, 15 Jul 2012 13:44:39 +0000 (15:44 +0200)]
x86: h264_weight_10bit: port to cpuflags
Luca Barbato [Tue, 13 Nov 2012 16:42:13 +0000 (17:42 +0100)]
libtheoraenc: add missing pixdesc.h header
Was left out from
c1a02e884ac785033baab356a5437adf057a4189.
Luca Barbato [Mon, 12 Nov 2012 00:25:44 +0000 (01:25 +0100)]
avcodec: remove ff_is_hwaccel_pix_fmt
It is used only in one place and is unlikely it would be needed
elsewhere.
Luca Barbato [Mon, 12 Nov 2012 00:25:43 +0000 (01:25 +0100)]
pixdesc: add av_pix_fmt_get_chroma_sub_sample
Deprecate avcodec_get_chroma_sub_sample.
Luca Barbato [Fri, 26 Oct 2012 14:36:56 +0000 (16:36 +0200)]
hlsenc: stand alone hls segmenter
Simplifies usage but has higher latency.
Justin Ruggles [Sat, 7 Apr 2012 22:59:00 +0000 (18:59 -0400)]
yop: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:55:43 +0000 (18:55 -0400)]
wtv: set channel layout for mpeg audio
Justin Ruggles [Sat, 7 Apr 2012 22:50:41 +0000 (18:50 -0400)]
westwood_aud: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:49:09 +0000 (18:49 -0400)]
wc3movie: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:45:49 +0000 (18:45 -0400)]
tmv: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:44:20 +0000 (18:44 -0400)]
tiertexseq: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:42:26 +0000 (18:42 -0400)]
swfdec: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:38:29 +0000 (18:38 -0400)]
sol: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:36:49 +0000 (18:36 -0400)]
smacker: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:36:08 +0000 (18:36 -0400)]
siff: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:32:13 +0000 (18:32 -0400)]
sierravmd: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:24:45 +0000 (18:24 -0400)]
rtpdec_amr: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:18:37 +0000 (18:18 -0400)]
rsodec: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 22:01:27 +0000 (18:01 -0400)]
rmdec: set channel layout for RA version 3
Justin Ruggles [Sat, 7 Apr 2012 21:57:25 +0000 (17:57 -0400)]
qcp: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 21:56:19 +0000 (17:56 -0400)]
psxstr: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 21:53:39 +0000 (17:53 -0400)]
omadec: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 21:39:30 +0000 (17:39 -0400)]
oggparsespeex: validate channel count and set channel layout
Justin Ruggles [Sat, 7 Apr 2012 21:35:20 +0000 (17:35 -0400)]
nuv: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 21:22:05 +0000 (17:22 -0400)]
mxg: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 21:17:19 +0000 (17:17 -0400)]
mvi: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 21:03:19 +0000 (17:03 -0400)]
mpc7: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 20:56:48 +0000 (16:56 -0400)]
mmf: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 20:52:57 +0000 (16:52 -0400)]
mm: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 20:47:15 +0000 (16:47 -0400)]
jvdec: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 20:45:48 +0000 (16:45 -0400)]
iss: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 20:44:46 +0000 (16:44 -0400)]
ipmovie: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 18:05:45 +0000 (14:05 -0400)]
iff: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 18:03:43 +0000 (14:03 -0400)]
idroqdec: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 18:00:04 +0000 (14:00 -0400)]
gxfdec: set channel layout when applicable
Justin Ruggles [Sat, 7 Apr 2012 17:51:42 +0000 (13:51 -0400)]
gsmdec: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 17:31:40 +0000 (13:31 -0400)]
flvdec: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 16:59:32 +0000 (12:59 -0400)]
dv: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 16:56:51 +0000 (12:56 -0400)]
dsicin: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 16:55:12 +0000 (12:55 -0400)]
daud: set channel layout
Update FATE reference due to WAVE channel mask now being set correctly.
Justin Ruggles [Sat, 7 Apr 2012 16:49:11 +0000 (12:49 -0400)]
cdxl: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 16:12:35 +0000 (12:12 -0400)]
bmv: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 16:10:46 +0000 (12:10 -0400)]
bink: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 16:06:41 +0000 (12:06 -0400)]
bfi: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 16:05:36 +0000 (12:05 -0400)]
bethsoftvid: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 15:25:52 +0000 (11:25 -0400)]
apc: set channel layout
Justin Ruggles [Sat, 7 Apr 2012 15:07:16 +0000 (11:07 -0400)]
amr: set channel_layout
Mans Rullgard [Sat, 10 Nov 2012 13:21:52 +0000 (13:21 +0000)]
ppc: replace pointer casting with AV_COPY32
This removes warnings about strict aliasing violations.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 10 Nov 2012 13:16:29 +0000 (13:16 +0000)]
ppc: fix some unused variable warnings
The third argument of OP_U8_ALTIVEC is evaluated at most once so
there is no need for a potentially unused temporary variable.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Mans Rullgard [Sat, 27 Oct 2012 18:11:04 +0000 (19:11 +0100)]
configure: remove support for -n flag in print_enabled()
This flag is no longer used.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Justin Ruggles [Sat, 7 Apr 2012 16:10:59 +0000 (12:10 -0400)]
binkaudio: set channel layout
Diego Biurrun [Fri, 19 Oct 2012 17:04:40 +0000 (19:04 +0200)]
build: Drop AVX assembly ifdefs
An assembler able to cope with AVX instructions is now required.
Diego Biurrun [Fri, 28 Sep 2012 17:36:53 +0000 (19:36 +0200)]
x86: Require an assembler able to cope with AVX instructions
All modern assemblers have this capability. Older NASM versions
that lack the capability produce code that crashes at runtime,
so it's better to error out during the build process instead.
CC: libav-stable@libav.org
Diego Biurrun [Thu, 25 Oct 2012 16:33:38 +0000 (18:33 +0200)]
doc: git-howto: Leave reviewers time to react before pushing patches
Justin Ruggles [Sat, 10 Nov 2012 15:00:00 +0000 (10:00 -0500)]
Include libavutil/channel_layout.h instead of libavutil/audioconvert.h
Also reorder some other #include when applicable.
Justin Ruggles [Sat, 10 Nov 2012 14:03:17 +0000 (09:03 -0500)]
lavu: rename audioconvert.* to channel_layout.* and deprecate audioconvert.h
Alberto Delmás [Sun, 11 Nov 2012 08:47:39 +0000 (09:47 +0100)]
mss2: prevent potential uninitialized reads
The alternative to zeroing on init is setting the corrupted flag in
all cases where pal_pic is not fully written, at the cost of added
complexity.
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
Kostya Shishkov [Sun, 11 Nov 2012 14:00:38 +0000 (15:00 +0100)]
mss2: reindent after last commit
Alberto Delmás [Sun, 11 Nov 2012 08:23:06 +0000 (09:23 +0100)]
mss2: fix handling of unmasked implicit WMV9 rectangles
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
Anton Khirnov [Sat, 3 Nov 2012 07:14:11 +0000 (08:14 +0100)]
configure: add lavu dependency to lavr/lavfi .pc files
Diego Biurrun [Tue, 30 Oct 2012 02:21:48 +0000 (03:21 +0100)]
x86inc: Set program_name outside of x86inc.asm
This reduces the local difference to the x264 upstream version.
Diego Biurrun [Sat, 28 Jul 2012 02:02:09 +0000 (04:02 +0200)]
x86: h264_qpel_10bit: drop unused parameter from MC10/MC20/MC30 macros
Diego Biurrun [Sat, 7 Jul 2012 23:30:30 +0000 (01:30 +0200)]
x86: PALIGNR: port to cpuflags
Diego Biurrun [Mon, 30 Jul 2012 15:04:26 +0000 (17:04 +0200)]
x86: h264_qpel_10bit: port to cpuflags
Justin Ruggles [Wed, 7 Nov 2012 19:48:28 +0000 (14:48 -0500)]
flacenc: ensure the order is within the min/max range in LPC order search
This fixes use of uninitialized values when the FLAC encoder uses the
2-level, 4-level, and 8-level search methods. Fixes failure of the
fate-flac-24-comp-8 test when run using valgrind.
Justin Ruggles [Tue, 6 Nov 2012 19:24:31 +0000 (14:24 -0500)]
avconv: rescale packet duration to muxer time base when flushing encoders
Fixes Bug 385
Justin Ruggles [Mon, 5 Nov 2012 20:36:19 +0000 (15:36 -0500)]
add 24-bit FLAC encoding to Changelog
Also move a misplaced line from the 9_beta2 section to <next>
Luca Abeni [Thu, 8 Nov 2012 00:38:50 +0000 (01:38 +0100)]
rtpenc_aac: Fix calculation of the header size
Previously the high end byte was always set to zero. Also get
rid of an unnecessary multiplication (which in practice couldn't
overflow) before shifting.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diego Biurrun [Mon, 9 Jul 2012 22:04:18 +0000 (00:04 +0200)]
x86: h264_intrapred: port to cpuflags
James Zern [Tue, 12 Apr 2011 00:00:35 +0000 (17:00 -0700)]
libvpxenc: Allow enabling constrained quality (CQ) mode
The CQ mode was introduced in libvpx 0.9.6.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Tue, 6 Nov 2012 10:18:57 +0000 (12:18 +0200)]
libopencore-amr: Check the return value of amr_decode_fix_avctx
This allows getting rid of redundant checks later in the codec
specific init functions.
Move the check to before actually initializing the decoder lib,
to simplify error handling.
This fixes a case of returning a value from a void function, present since
d40dab907.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diego Biurrun [Fri, 19 Oct 2012 23:09:33 +0000 (01:09 +0200)]
fate: atrac: Place atrac1 and atrac3 tests in different groups
Diego Biurrun [Sat, 20 Oct 2012 10:19:54 +0000 (12:19 +0200)]
fate: aac: cosmetics: Group AAC LATM tests together
Diego Biurrun [Tue, 6 Nov 2012 11:07:35 +0000 (12:07 +0100)]
x86: avresample: Add missing colons to assembly labels
YASM accepts labels without colons, but NASM issues warnings.
Justin Ruggles [Mon, 5 Nov 2012 17:49:36 +0000 (12:49 -0500)]
FATE: add a 24-bit FLAC encoding test
Justin Ruggles [Sat, 27 Oct 2012 05:22:07 +0000 (01:22 -0400)]
FATE: rename FLAC tests from flac-* to flac-16-*
This will distinguish FLAC 16-bit tests from FLAC tests with other bit
depths.
Justin Ruggles [Sat, 27 Oct 2012 04:46:43 +0000 (00:46 -0400)]
flacenc: use RICE2 entropy coding mode for 24-bit
Justin Ruggles [Sat, 27 Oct 2012 04:26:02 +0000 (00:26 -0400)]
flacenc: add 24-bit encoding