Carl Eugen Hoyos
03d7d8faef
Support gray8a pam encoding.
13 years ago
Michael Niedermayer
57581e4110
pthread: dont autoenable frame threads with visualization
...
This combination doesnt work
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e404eee1e1
pthread: Limit automatic threads to mb_height.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9c1f0493d5
Revert 464f26889c
...
The code is not needed for us and it doesnt work completely.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
099d6813c2
svq3: Fix memory corruption introduced by automatic thread_count.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ca0350f49b
mpegvideo: Do not error out on default values of thread_count.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
714d2f9796
Only expand raw and packed 1bpp tiff horizontally if it is palettised.
13 years ago
Michael Niedermayer
9d9316ae34
h264: Fix seeking in 00017.MTS
...
Fixes Ticket852
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ronald S. Bultje
464f26889c
mpegaudiodec: fix seeking.
...
The safe bitstream reader does not allow using skip_bits_long() to seek to a
point before the start of the buffer, which was needed by the mp3 decoder.
This change instead calculates the start point of the first valid granule and
skips to that position.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Justin Ruggles
481a7ff5bd
mpegaudiodec: fix compilation when testing the unchecked bitstream reader
13 years ago
Mashiat Sarker Shakkhar
a6da23f146
Cosmetics: Remove two empty lines and realign some code
13 years ago
Mashiat Sarker Shakkhar
8dc8dd9f6f
Reset acfilter_prevvalues buffer in clear_codec_buffers()
13 years ago
Mashiat Sarker Shakkhar
001a74ff53
Fix AC filter buffers and AC filter reversion
13 years ago
Janne Grunau
bcc7396065
threads: add sysconf based number of CPUs detection
...
Can act as fallback and should work on a couple of Unix systems.
13 years ago
Janne Grunau
937ff3a18a
threads: always include necessary headers for number of CPUs detection
...
Since the conditions for the actual usage are more specific a less
preferred method can be used. This would cause compilation errors
because necessary headers are not included.
13 years ago
Janne Grunau
e4e30256f8
threads: default to automatic thread count detection
13 years ago
Michael Niedermayer
810a14dbcc
aacdec: Evaluate further PCE elements.
...
Fixes Music\ Station\ Super\ Live\ -\ 2011.12.23.mkv
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
f69a766d11
Fix mono* pam encoding.
13 years ago
Nicolas George
0098e79f8a
libvorbis: proper error logging and return.
13 years ago
Reimar Döffinger
42a1f1d7a8
Avoid uninitialized data in lcldec when ofs is 0 in MSZH.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Michael Niedermayer
91ab557b68
Revert "aacdec: Avoid unneeded reinit due to ADTS headers"
...
This has been fixed differently and its revert avoids error messages
when decoding xx.flv. This also reduces the difference to qatar.
This reverts commit 5a2b3f3a52
.
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4392b3d11e
tiffdec: hotfix for fate failure.
...
Only use pal8 as output if the file has a palette or more than 2 colors.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jean First
9bfaeee5f3
8svx: remove unused variable in eightsvx_decode_frame
...
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
7ee0649f95
Fix decoding some 1bpp tiff files, they are palettized.
...
Fixes ticket #830 .
13 years ago
Carl Eugen Hoyos
e767968c6e
Simplify tiff decoder by merging two functions.
13 years ago
Carl Eugen Hoyos
b46fb615c4
tiff.c: Use switch / case instead of if / else where appropriate.
13 years ago
Shitiz Garg
c3513477bb
cook: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Michael Niedermayer
e146ad95d7
mlp_parser: Fix infinite loop with 0 bytes_left.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
d4b63054d9
cosmetics: Drop unnecessary parentheses around return values.
13 years ago
Paul B Mahol
ba10207bbe
Use more designated initializers.
...
Also remove some pointless NULL/0 assigments.
C++ code must be left as it is because named struct
initializers are not supported by C++ standard.
13 years ago
Michael Niedermayer
b0143da806
ljpegdec: fix point transform injection.
...
Fix Ticket842
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
6ed3565f08
Do not fail when decoding invalid v410 files with odd width.
...
Reviewed-by; Derek Buitenhuis
13 years ago
Carl Eugen Hoyos
3a15051aba
Always assume the bmp palette as being opaque.
13 years ago
Diego Biurrun
ca5ab8cd21
libvorbis: K&R reformatting cosmetics
13 years ago
Aneesh Dogra
c4db344664
libmp3lame: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Aneesh Dogra
9342ecf02e
mpegvideo_enc: K&R cosmetics (line 1000-2000).
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Michael Niedermayer
f41a6c8f3a
indeo5: Fix null pointer dereferences of ref_mb
...
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7ae251b4d8
h264_mp4toannexb_filter: pass error code through.
...
Bug-Found-by and Suggested bugfix: Tanami, Ohad
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Kostya Shishkov
1fbd3d30ae
indeo4: remove two unused variables
13 years ago
Michael Niedermayer
e7c1e38ba6
qpeg: Check for overread in qpeg_decode_intra.
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Thad Ward
7af507ea99
lagarith: add decode support for arith rgb24 mode
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Michael Niedermayer
7e5cbb3c2d
cljrdec: improve scaling somewhat
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8f5216905f
v410dec: Check for sufficient input data. Fixes crash
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Michael Niedermayer
92e2b59dec
indeo5: fix division by 0 in ff_ivi_init_tiles()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a1ca45317d
cljrenc: fix scaling
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d46bc4133c
indeo5: Fix crash due to partially initialized gop vars.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4b35ee0b7c
indeo5: fix null pointer crash with ref_mb
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8e09482e4d
vcr1dec: Check that there is sufficient input data.
...
Fixes crash.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
11ca3416f9
v410dec: Check for sufficient input data.
...
Fixes crash
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Kostya Shishkov
adfe0c942e
Indeo 4 decoder
...
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
13 years ago