Michael Niedermayer
2cd7c99498
h264: reset ret to avoid propagating minor failures
Unbreak 772d150a6e .
CC: libav-stable@libav.org
Bug-Id: 750 / 905753
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 years ago
Luca Barbato
e3a00acde0
hevc: Initialize mergecand_list to 0
Unbreak cf6090dc62 .
CC: libav-stable@libav.org
Sample-Id: hevc-conformance-LTRPSPS_A_Qualcomm_1
11 years ago
Rémi Denis-Courmont
4e03b2097c
mpeg12: Always invoke the get_format() callback
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Rémi Denis-Courmont
ce42316321
h264: Always invoke the get_format() callback
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Rémi Denis-Courmont
1c80c9d7ef
hwaccel: Call ->get_format again if hwaccel init fails
This allows the application to fall back on another hwaccel or,
more likely, software decoding.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Tristan Matthews
7703995a2e
flac: Remove unused headers
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Tim Walker
cc4992aaf3
ac3enc: allow Dolby Pro Logic IIz as the Dolby Surround EX mode.
This is actually defined in the A/52 specification.
12 years ago
Tim Walker
4c2fd4b262
ac3enc: allow Dolby Pro Logic II as a preferred downmix mode.
Some encoders already use this value even
though it's reserved in the A/52 specification.
12 years ago
Michael Niedermayer
a97328afef
vc1: Use logical instead of bitwise or for twomv
CC: libav-stable@libav.org
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Tim Walker <tdskywalker@gmail.com>
11 years ago
Tim Walker
b5fe13448b
vc1: Use logical instead of bitwise or for coded_inter
This appears to be the intended behavior.
11 years ago
Diego Biurrun
b97f6ef956
pcm-dvd: Move a variable to a smaller scope
This avoids an unused variable warning on big-endian systems.
11 years ago
Martin Storsjö
d07ddc93e2
avcodec: Fix a doxy comment to refer to the right function
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Diego Biurrun
103391ca90
dca: Remove some commented-out cruft
11 years ago
Gabriel Dume
45ff7c93dd
dca: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Gabriel Dume
ee0ebd3c14
dv: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Gabriel Dume
9752d07d33
dirac: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Diego Biurrun
1274ea8dba
Split off floating point AAN (I)DCT into separate components
11 years ago
Diego Biurrun
2143948381
Drop unnecessary av_unused attributes.
11 years ago
Diego Biurrun
213e606752
Replace av_unused attributes by block structures
This is more portable and avoids warnings with compilers that do not
properly support av_unused.
11 years ago
Diego Biurrun
096a1d5b46
rdft: Move some variables into a separate block
This avoids an unused variable warning with hardcoded tables.
11 years ago
Diego Biurrun
b574e1e97e
get_bits: Add OPEN_READER macro variant w/o size_plus8
This avoids a trillion warnings from MSVC.
11 years ago
Diego Biurrun
4d55e9de27
vc1: Split bits used in libavformat into a separate header
This reduces inter-library dependencies.
11 years ago
Diego Biurrun
f20518568a
build: Split WMA frequencies into a separate object file
These are the only WMA bits shared with binkaudio. Splitting them off
reduces the binnkaudio dependency on general WMA code.
11 years ago
Diego Biurrun
803f8992f1
build: cosmetics: Group hwaccel OBJS declarations together
11 years ago
Diego Biurrun
2b8b0da09c
fdctdsp: cosmetics: Drop one unnecessary if-block level
11 years ago
Gabriel Dume
d2a4e4b9cc
wma: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Luca Barbato
4912b634b5
x265: Use the encoder defaults
Reset the settings as it is done for x264.
11 years ago
Gabriel Dume
eda7571ea1
wmv2: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Pascal Massimino
7a1d6ddd2c
xvid: Add C IDCT
Thanks to Pascal Massimino and Michael Militzer for relicensing as LGPL.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Diego Biurrun
95c0cec03a
idctdsp: Add global function pointers for {add|put}_pixels_clamped functions
These function pointers already existed in the ARM code. Adding them globally
allows calls to the function pointers to access arch-optimized versions of the
functions transparently.
11 years ago
Diego Biurrun
91d305790e
get_bits: Rename HAVE_BITS_REMAINING --> BITS_AVAILABLE
The HAVE_ prefix is reserved for macros set by configure.
11 years ago
Gabriel Dume
ff4d1aa8bc
flv: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Gabriel Dume
f61e47dd68
asv: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Gabriel Dume
74512f7e36
8svx: Return proper error codes
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Gabriel Dume
e205fe6831
mpeg4videodec: Fix low_delay error message
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Gabriel Dume
63f800ca5f
aac_adtstoasc_bsf: Return proper error code
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Diego Biurrun
b8962d64cc
dxva2: Clean up definition of _WIN32_WINNT
Only set a value if _WIN32_WINNT is undefined or smaller than 0x0600. This is
cleaner than unconditional definition and avoids a number of redefinition
warnings. Also only define a value in one of the two dxva2 headers.
11 years ago
Diego Biurrun
4600a85eaa
dxva2: Pass variable of correct type to IDirectXVideoDecoder_GetBuffer()
This avoids related incompatible pointer type warnings.
11 years ago
Michael Niedermayer
37c46743ee
avcodec: fix missing doxygen comment marker
11 years ago
Vittorio Giovara
9301486408
avcodec: add stream-level stereo3d side data
11 years ago
Diego Biurrun
8d27bf1cff
x86: xvid: K&R formatting cosmetics
11 years ago
Diego Biurrun
dcb7c868ec
cosmetics: Make naming scheme of Xvid IDCT consistent with other IDCTs
11 years ago
Diego Biurrun
1f156af427
x86: xvid_idct: Drop unused definitions
11 years ago
Luca Barbato
ff771f79b5
vc1: Initialize start_code_found to 0
Leftover of a4d3c20035 .
11 years ago
Vittorio Giovara
e87f5e4e5f
h264: fully check cropping amount from sps
Even if sps.crop is true, the cropping amount may be zero.
Fixes a sample with a valid but broken container cropping.
11 years ago
Gabriel Dume
0a02426826
libxvid: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Luca Barbato
a4d3c20035
vc1: Fix the skip condition
As written in the comment above, skip must be added only if a
start code is found.
11 years ago
Janne Grunau
dc4b2e7d33
rv34: use ff_mpeg_update_thread_context only when decoder is fully initialized
MpegEncContext based decoders are only fully initialized after the first
ff_thread_get_buffer() call. The RV30/40 decoders may fail before a frame
buffer was requested. ff_mpeg_update_thread_context() fails on half
initialized MpegEncContexts. Since this can only happen before a the
first frame was decoded there is no need to call
ff_mpeg_update_thread_context().
Based on patches by John Stebbins and tested by John Stebbins.
CC: libav-stable@libav.org
11 years ago
Diego Biurrun
8fc6a70c21
mpeg12enc: Add missing #include for PICT_FRAME
11 years ago
Diego Biurrun
7cb66ebc0b
error_resilience: Drop asserts from guess_mv()
The asserts check struct members that are not referenced in guess_mv()
and one of them fails to compile.
11 years ago