Sebastien Zwickert
e953b8b7be
vda: removes useless doxygen command.
13 years ago
Sebastien Zwickert
75be547f77
vda: uses pthreads directly.
13 years ago
Sebastien Zwickert
5ada64a549
vda: convert 3 byte NAL sizes to 4 byte.
13 years ago
Reimar Döffinger
aeeb0e6deb
indeo4, swresample: add some missing static/const to tables.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
ee4ba9aecd
Fix incorrect increment in sgidec.c
...
Fixes trac issue #899 .
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Michael Niedermayer
a407baba85
g723_1: Fix "libavcodec/g723_1.c:988:8: warning: assignment from incompatible pointer type [enabled by default]"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
53918a1c54
dca: Fix uninitialized variable warnings.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2d6f317d71
jpegdec: support ilv=1 grayscale jpeg-ls.
...
Fixes Ticket851
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
bbe25b4f3e
ljpegdec: support non zero MCU for RGB. 2nd try
...
Fixes Ticket875
Compared to patch 1 this fixes a bright line at the right side.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
badb195d13
cabac: Move code only used within the CABAC test program into the test program.
13 years ago
Diego Biurrun
1be4b8ccba
vp56: Drop unnecessary cabac.h #include.
13 years ago
Diego Biurrun
a7e3cb9d32
h264-test: Initialize AVCodecContext.av_class.
...
This fixes a segfault on startup.
Also remove a commented-out and completely unused variable.
13 years ago
Diego Biurrun
3dc99a18d4
cosmetics: drop some pointless parentheses
13 years ago
Justin Ruggles
3f6aa85ed4
avcodec: attempt to clarify the CODEC_CAP_DELAY documentation
13 years ago
Justin Ruggles
07837e4158
avcodec: fix avcodec_encode_audio() documentation.
...
the previous documentation indicated how many bytes are read from the input,
not how many samples are read.
13 years ago
Justin Ruggles
cf1a259ad6
g722enc: validate AVCodecContext.trellis
13 years ago
Justin Ruggles
77c5b66cbe
g722enc: set frame_size, and also handle an odd number of input samples
...
The fate reference is updated because the previous test skipped a sample in
each encode() call due each input frame having an odd number of samples.
13 years ago
Justin Ruggles
34093ba081
g722enc: split encoding into separate functions for trellis vs. no trellis
13 years ago
Carl Eugen Hoyos
19b945dc2a
Cosmetics: Fix indentation.
...
Found by: Alexander Strasser
13 years ago
Vitor Sessak
96219141e2
mpegaudiodec: Use clearer pointer math
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Justin Ruggles
52e9854a83
tta: fix 24-bit decoding.
...
Decode to the correct output buffer.
13 years ago
Paul B Mahol
17aa02b9a1
interplayvideo: Handle changed video dimensions on the fly
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
c5d907b6b0
libavcodec: Handle param change side data in avcodec_decode_video2, too
...
Also call avcodec_set_dimensions on dimension param change packets.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
867f923df4
libavcodec: Move apply_param_change up above avcodec_decode_video2
...
This is in preparation to calling it from avcodec_decode_video2.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Janne Grunau
be540e0cb3
indeo3: check motion vectors for validity
...
Fixes null pointer dereferences in fuzzed files found by Oana Stratulat.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Michael Niedermayer
b18a0cc781
indeo5: Fix null pointer dereference.
...
Bug found by: Oana Stratulat
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Michael Niedermayer
12d8340f16
ljpeg: Fix bits != 8 or 16 support
...
Fixes 2nd half of Ticket889
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5152beeba8
ljpeg: Add predictor=0 support.
...
Fixed first half of ticket889
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Laurentiu Ion
b348c852aa
flicvideo: fix invalid reads
...
Prevent invalid reads using bytestream2 functions.
Fixes bug #126 .
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Chris Evans
57cd6d7095
vorbis: Avoid some out-of-bounds reads
...
Fixes Bug: #190
Chromium Bug: #100543
Related to CVE-2011-3893
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
13 years ago
Diego Biurrun
3aa3fc45fe
cabac: remove unused function renorm_cabac_decoder
13 years ago
Diego Biurrun
301fb92131
h264: Only use symbols from the SVQ3 decoder under proper conditionals.
...
Fixes --disable-everything --enable-decoder=h264 --disable-optimizations.
13 years ago
Clément Bœsch
ed14b7242a
timecode: more tolerant frame rate check for drop flag.
...
This fixes some timecode probing in MOV.
13 years ago
Justin Ruggles
6e8bf6db48
add bytestream2_tell() and bytestream2_seek() functions
13 years ago
Janne Grunau
f907615f08
parsers: initialize MpegEncContext.slice_context_count to 1
...
The mpeg4 video, H264 and VC-1 parser hold (directly or indirectly)
a MpegEncContext in their private context. Since they do not call the
common mpegvideo init function slice_context_count has explicitly set
to 1.
Prevents a null pointer dereference in the h264 parser and fixes
bug 193.
13 years ago
James Zern
95afa0a573
libvpxenc: restore vp8flags for compatibility
...
removed in 98df93c
, this makes the documentation correct again.
Found-by: j@v2v.cc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c88f0b728c
tta: Fix regression of 24bit decoding.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c4f237a981
Revert commit 599b4c6efd
...
Author: Mans Rullgard <mans@mansr.com>
Date: Sun Dec 11 21:41:59 2011 +0000
x86: cabac: replace explicit memory references with "m" operands
This replaces the explicit offset(reg) memory references with
"m" operands for the same locations. As a result, one fewer
register operand is needed for these inline asm statements.
This change appears to have broken compilation on darwin, and subsequent
fixes by martin (which did not fix compilation) removed the register
advantage, thus this change seems not a good idea to keep.
See: http://fate.ffmpeg.org/log.cgi?time=20120103122446&log=compile&slot=i386-darwin-llvm-gcc-4.2.1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
e9a591d1f0
Fix compilation with --disable-everything --enable-demuxer=mov.
13 years ago
ami_stuff
febf75f3d2
pam: Reject 64bpp rgba.
...
Fixes ticket #883
13 years ago
Carl Eugen Hoyos
09f25a9cb0
Allow decoding of uyvy422 CYUV with -vcodec rawvideo.
...
FourCC CYUV can be Creative YUV and uyvy422 rawvideo.
13 years ago
Carl Eugen Hoyos
d185278c36
Support decoding of some unusual jpeg samples.
...
Avoid unsupported pix_fmts by upscaling chroma.
Fixes ticket #878 .
13 years ago
Janne Grunau
696ace50ea
truemotion2: check size before GetBitContext initialisation
...
Prevents null ptr derefence for negative sizes.
13 years ago
Janne Grunau
bb5b3940b0
adpcm: ADPCM Electronic Arts has always two channels
13 years ago
Reimar Döffinger
4278023240
Check for overread in vqa video decoder.
...
This issue was discovered while decoding the FATE sample vqa/ws_snd.vqa.
For some unknown reason only audio decoding is tested by FATE for that file,
but not video.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
1d0d63052b
sipr: fall back to setting mode based on bit_rate.
...
Not all applications (e.g. MPlayer) set block_align, and
when using a different demuxer it might not even be
easily available.
So fall back to selecting mode based on bit rate as before
if block_align has not useful value.
It can't be worse than failing to decode completely.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Clément Bœsch
2aa7375a98
timecode: add avpriv_check_timecode_rate().
13 years ago
ami_stuff
a44b63f6c8
Support 48bpp pam decoding.
...
Fixes ticket #882 .
13 years ago
ami_stuff
871e2f4fac
Support 16bpp grayscale pam decoding.
...
Fixes ticket #881 .
13 years ago
Michael Niedermayer
02026d08a9
libvpxenc: Remove duplicate AVOption constants.
...
Found-by: j@v2v.cc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago