Paul B Mahol
916e40b5b4
smacker: return more meaningfull error codes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
ae237a117a
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
swscale: try to use mmap only if available
configure: check for mprotect
wmapro: use planar sample format
wmalossless: output in planar sample format
wmadec: use float planar sample format output
shorten: use planar sample format
lavc: update documentation for AVFrame.extended_data
Conflicts:
libavcodec/shorten.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
4f5e5a0513
lavf/txd: cosmetics: fix identation
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Clément Bœsch
b08273c9ca
lavf/mkv: avoid negative ts by default.
...
This fixes playback in some circumstances (like webm in firefox).
Regression after 2c34367b
.
It is also matching the Matroska specifications:
http://matroska.org/technical/specs/notes.html , "The quick eye will
notice that if a Cluster's Timecode is set to zero, it is possible to
have Blocks with a negative Raw Timecode. Blocks with a negative Raw
Timecode are not valid."
12 years ago
Stefano Sabatini
304c37b216
tests: add fate-xface test
12 years ago
Stefano Sabatini
cd559bb49a
lavc: add xface image decoder and encoder
...
Based on libcompface code by James Ashton <James.Ashton@anu.edu.au>, and
relicensed to LGPL with the author's consent.
12 years ago
Mans Rullgard
95cd815c36
swscale: try to use mmap only if available
...
Some systems, e.g. Minix, have sys/mman.h defining MAP_ANONYMOUS without
providing (working) mmap and friends. The mmx filter generation code
checks only for MAP_ANONYMOUS, not for availability of mmap itself which
leads to build errors on aforementioned systems.
This changes the conditional compilation to use mmap only if all the
required functions are available.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
e98b02de5f
configure: check for mprotect
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Michael Niedermayer
35782bfbca
h264: Change asserts to av_asserts in ff_h264_fill_default_ref_list()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
151469db33
j2kenc: remove unneeded dereference
...
Fixes CID703723
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
1b8f4d773c
ffmpeg: use framerate not fieldrate as filter input.
...
Fixes a problem described in Ticket1065
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
a63d7213b3
ffplay: Prevent 0/0 aspect from being passed on to lavfi
...
0/0 fails to be parsed
Fixes Ticket1814
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Justin Ruggles
f9d732c264
wmapro: use planar sample format
12 years ago
Justin Ruggles
2725ce7c7c
wmalossless: output in planar sample format
12 years ago
Justin Ruggles
7ebfe5b44a
wmadec: use float planar sample format output
12 years ago
Justin Ruggles
977eb7d567
shorten: use planar sample format
12 years ago
Michael Niedermayer
bc077ca6b5
j2kdec: remove unneeded operation
...
Fixes CID717554
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
1e6cbb01e9
j2kdec: make curtilenum integer.
...
This fixes a potential crash.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
0de0ae5a20
tag_tree_decode: check node being non null
...
Fixes CID717843
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
a6cac64f69
compute_lpc_coefs: assert that normalize and fail have a supported combination
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
93ef29b6f4
noise_bsf: fix division by 0
...
Fixes CID733737
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Justin Ruggles
8441909f49
lavc: update documentation for AVFrame.extended_data
12 years ago
Michael Chinen
c73b1a1d80
flac_parser.c: fix issue with looping output for small files.
...
see trac 1345
https://ffmpeg.org/trac/ffmpeg/ticket/1345
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Thilo Borgmann
41bf943f70
bgmc: fix sizeof arguments (should fix CIDs: 700724 and 608084)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
45bd0d15f4
lavf: fix fps detection with PAFF H.264
...
Fixes Ticket1065
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Hendrik Leppkes
572781b25f
h264: fix parsing of old lossless profile (profile_idc == 144)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Peter Ross
6bf43441f0
eatgq: raise error on unsupported macroblock mode
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Peter Ross
0ea55365b9
ansi: by design nb_args may exceed the size of the args array, so guard accordingly
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d6f6a7557c
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
avutil: Do not make ff_ symbols globally visible.
avutil: Rename ff_set_systematic_pal2() ---> avpriv_set_systematic_pal2()
build: tms470: work around glibc math.h problems
configure: improve tms470 compiler usage with glibc
Conflicts:
libavcodec/bmpenc.c
libavcodec/rawdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
de3b1116da
eatgq: fix small overread
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
82c0055c5e
Merge commit 'b5198a2637b7b45b0049a1d4b386a06f016f2520'
...
* commit 'b5198a2637b7b45b0049a1d4b386a06f016f2520':
configure: tms470: add mapping for -mfpu=vfpv3-d16 flag
configure: recognise Minix as OS
configure: work around bug in ash shell
eval-test: make table static const
lavr: handle clipping in the float to s32 conversion
nut: support pcm codecs not mapped in avi
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
db51c65961
Merge commit '1bd442c276e6688b43777a198cad0d7e3a92123f'
...
* commit '1bd442c276e6688b43777a198cad0d7e3a92123f':
nut: prioritize native tags
Conflicts:
tests/ref/lavfi/crop
tests/ref/lavfi/crop_scale
tests/ref/lavfi/crop_scale_vflip
tests/ref/lavfi/crop_vflip
tests/ref/lavfi/null
tests/ref/lavfi/pixdesc
tests/ref/lavfi/pixfmts_copy
tests/ref/lavfi/pixfmts_crop
tests/ref/lavfi/pixfmts_hflip
tests/ref/lavfi/pixfmts_null
tests/ref/lavfi/pixfmts_pad
tests/ref/lavfi/pixfmts_scale
tests/ref/lavfi/pixfmts_vflip
tests/ref/lavfi/scale200
tests/ref/lavfi/scale500
tests/ref/lavfi/vflip
tests/ref/lavfi/vflip_crop
tests/ref/lavfi/vflip_vflip
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
03760297b1
doc/nut: Clarify what/where is the official nut specification
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
039341eb43
wv: do not report invalid stream duration
...
If total number of samples is -1 it means stream is of unknown length.
Fixes ticket #1777 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
dd5aff001e
svq1dec: use log level that have more common sense
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
7b9fc769e4
svq1dec: use more common way to check if result is not zero
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
8f4020d8a4
svq1dec: check return value of get_bits1() in more common way
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
e2bf1082cc
svq1dec: return more meaningful error codes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
d31098113f
mp3enc: fix signed C99 overflow
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
2217a2249d
dpxenc: fix signed c99 overflows
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
7a32ab5ed0
sws: get rid of C99 signed overflows try #2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
693097c355
paf: avoid C99 overflows
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
3ee8eefbf2
sws: avoid signed C99 overflows
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
555f352f99
swr/rematrix: fix C99 left shift overflow
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
014b178f84
g723_1: fix overflow in square_root()
...
the intermediate does not fit in a signed 32bit int
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
2fed05f53a
avoid more "0xFF << 24" as it is considered a integer overflow in C99
...
missed these in my previous search and replace
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
b12d92efd6
avoid "0xFF << 24" as it is considered a integer overflow in C99
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d3d715ff13
mpeg4videodec: Recalculate timebase in case of guessing time increment bits
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
096d96ffda
lavfi/select/scene: use pointer increments instead of y*linesize.
12 years ago
Clément Bœsch
0852648301
lavfi/select/scene: fix potential overread.
...
Also make sure we use the actual width of the image and not the whole
linesize.
12 years ago