Anton Khirnov
8e5746d461
lavc: remove disabled FF_API_GET_PIX_FMT_NAME cruft.
13 years ago
Anton Khirnov
0dc6bab092
lavc: remove disabled FF_API_FLAC_GLOBAL_OPTS cruft.
13 years ago
Anton Khirnov
fbca04e6f6
lavc: remove disabled FF_API_OLD_FF_PICT_TYPES cruft.
13 years ago
Anton Khirnov
9a79bb552a
lavc: remove disabled FF_API_THREAD_INIT cruft.
13 years ago
Anton Khirnov
7831a7e4ec
lavc: remove disabled FF_API_ANTIALIAS_ALGO cruft.
13 years ago
Anton Khirnov
62dfea6535
lavc: remove disabled FF_API_OLD_AUDIOCONVERT cruft.
13 years ago
Anton Khirnov
284e65d64e
lavc: remove disabled FF_API_OLD_SAMPLE_FMT cruft.
13 years ago
Anton Khirnov
6c8dab98b8
lavc: remove disabled FF_API_PALETTE_CONTROL cruft.
13 years ago
Anton Khirnov
9ce2a91b84
lavc: remove disabled FF_API_MPEGVIDEO_GLOBAL_OPTS cruft.
13 years ago
Anton Khirnov
7232bfbd93
lavc: remove disabled FF_API_X264_GLOBAL_OPTS cruft.
13 years ago
Anton Khirnov
7460398b89
lavc: remove the deprecated opt.h header.
13 years ago
Anton Khirnov
041cd5a0c5
lavc: remove the deprecated "ab" option.
13 years ago
Anton Khirnov
7773161b8f
codec-regression: use private options instead of deprecated codec flags.
13 years ago
Anton Khirnov
7063b6eaee
lavc: increase major version to 54.
...
The lavf-ffm test results change because ffmenc writes
AVCodecContext.flags/flags2 and the defaults for those change.
13 years ago
Alexandra Khirnova
570f6aaab1
cmdutils: fix options starting with 'no'.
...
E.g. non_linear_quant mpeg2video private option.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Ronald S. Bultje
412b248edb
x86inc.asm: fix typo.
...
Assemblers don't understand ! in %if statements.
13 years ago
Ronald S. Bultje
b5d08c27c3
swscale: convert rgb/bgr24ToY/UV_mmx functions from inline asm to yasm.
...
Also implement sse2/ssse3/avx versions.
13 years ago
Ronald S. Bultje
3b15a6d742
config.asm: change %ifdef directives to %if directives.
...
This allows combining multiple conditionals in a single statement.
13 years ago
Alex Converse
08628b6afb
Revert "sws/pixfmt/pixdesc: add support for yuva444p"
...
This reverts commit fc115c80b7
.
Tests are broken.
13 years ago
Paul B Mahol
5eda82aac9
frwu: check if allocation was successful
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Mashiat Sarker Shakkhar
d51d6ae9c4
vc1dec.c: Don't use uninitialized values of dmv_[x, y]
...
MVDATA may or may not be transmitted. If it is not, both
dmv_x and dmv_y is to be assumed zero.
This may not trigger wrong picture in all systems, but
it's a bug nevertheless. Fixes SA10116.vc1 on my 64-bit
Windows 7.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Paul B Mahol
fc115c80b7
sws/pixfmt/pixdesc: add support for yuva444p
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Alex Converse
b57d262412
mjpegbdec: Fix overflow in SOS.
...
Based in part by a fix from Michael Niedermayer <michaelni@gmx.at>
Fixes CVE-2011-3947
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
13 years ago
Diego Biurrun
299ab0fd17
libavutil: Remove pointless file test program.
13 years ago
Paul B Mahol
324e818093
8bps: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Alex Converse
9adf25c1cf
smacker: Sanity check huffman tables found in the headers.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
13 years ago
Alex Converse
90c0c83e14
smacker: remove dead store
13 years ago
Alex Converse
dac56d9ce0
qdm2: Check data block size for bytes to bits overflow.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
13 years ago
Tomas Härdin
62271c4c9a
mxfdec: Fix files with essence containers larger than 2 GiB.
...
For such files, accumulating into an int would cause an overflow.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Jean First
4fbd3e89e7
mxfdec: Employ correct printf conversion specifiers for POSIX int types.
...
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Hendrik Leppkes
feaa40020b
vc1: always read the bfraction element for interlaced fields
...
Previously, it would not be read if refdist_flag was not set, however
according to the spec and the reference decoder, it should always be read.
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
13 years ago
Paul B Mahol
7de9af65c7
fate: add XWD image regression test
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Janne Grunau
b3461c29c1
lavf: prevent infinite loops while flushing in avformat_find_stream_info
...
If no data was seen for a stream decoder are returning 0 when fed with
empty packets for flushing. We can stop flushing when the decoder does
not return delayed delayed frames anymore. Changes try_decode_frame()
return value to got_picture or negative error.
CC: libav-stable@libav.org
13 years ago
Alex Converse
d2ee8c1779
matroskadec: Pad AAC extradata.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
13 years ago
Martin Storsjö
8801fac365
ismindex: Fix build on mingw
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Alex Converse
d78bb1a4b2
wma: Clip WMA1 and WMA2 frame length to 11 bits.
...
The MDCT buffers in the decoder are only sized for up to 11 bits. The
reverse engineered documentation for WMA1/2 headers say that that for
all samplerates above 32kHz 11 bits are used. 12 and 13 bit support
were added for WMAPro. I was unable to make any Microsoft tools generate
a test file at a samplerate above 48kHz.
Discovered by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
13 years ago
Martin Storsjö
9f9c45f4b6
movenc: Don't require frame_size to be set for modes other than mov
...
The field frame_size isn't written to the output anywhere except
than in mov.
This facilitates stream copy from formats that don't set frame_size.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
6cb288290d
doc: Update APIchanges with info on muxer flushing
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
990a746cec
movenc: Reindent a block
...
Also add some space around operators and wrap a comment
that extends past the 80 char "limit"/guideline.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Diego Biurrun
d55fa1cb25
tools: Remove some unnecessary #undefs.
13 years ago
Janne Grunau
c3e10ae412
rv20: prevent calling ff_h263_decode_mba() with unset height/width
...
Prevents a crash of VLC during playback of a invalid matroska file,
found by John Villamil <johnv@matasano.com>.
CC: libav-stable@libav.org
13 years ago
Diego Biurrun
4e81b5f517
tools: K&R reformatting cosmetics
13 years ago
Diego Biurrun
50639cbefe
Ignore generated aviocat and ismindex tools.
13 years ago
Diego Biurrun
07a873a277
build: Automatically include architecture-specific library Makefile snippets.
13 years ago
Janne Grunau
366ac22ea5
indeo5: prevent null pointer dereference on broken files
...
Found by John Villamil <johnv@matasano.com>
13 years ago
Martin Storsjö
7072a6a4bb
pktdumper: Use usleep instead of sleep
...
MinGW doesn't have sleep, only _sleep (which is deprecated),
Sleep (which is defined in winbase.h and not in the standard
C headers) and usleep.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Diego Biurrun
33ad8c3cab
cosmetics: Remove some unnecessary block braces.
13 years ago
Diego Biurrun
abe655a472
Drop unnecessary prefix from *sink* variable and struct names.
13 years ago
Martin Storsjö
33ec9ef96d
Add a tool for creating smooth streaming manifests
...
It can also optionally split the file into individual fragments,
which allows it to be served from any web server without any
server side support.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
bc7d05177f
movdec: Calculate an average bit rate for fragmented streams, too
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago