Michael Niedermayer
901f4bb6fc
utils: consider mpeg4 in mp4/mov to have a unreliable timebase
...
Partly fixes Ticket1664
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
f5581266f7
ra288: assert order to be withinn supported range in do_hybrid_window()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
db3a0aae9f
msvideo1enc: fix initial keyframe value
...
keyframe was never set to anything but 1
Fixes CID733730
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Mans Rullgard
07b3790d36
build: simplify linking tools with cmdutils.o
...
This avoids repeating cmdutils.o in both the prerequisites and
the link command.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
bf868c4a9b
tiny_psnr: fix range calculation for sample size of 32 bits
...
For a sample size of 32 bits, the shift would overflow producing
undefined results. Incidentally, in the only test currently using
32-bit samples, the output matches the reference exactly on most
systems meaning the bad 'max' value is never used.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
3dc06b6972
tiny_psnr: check for specified sample size less than 1
...
A zero or negative sample size is impossible and should be
reported as an error.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Stefano Sabatini
faa1cb50ed
lavfi/ass: extend syntax for ass filter
...
Make the filter accept named options for the first argument, and update
documentation accordingly.
12 years ago
Mans Rullgard
099294577c
fate: improve md5sum utility selection
...
The 'md5sum' command is used with the -b flag so the presence test
must also use this flag.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Stefano Sabatini
22c5cc239c
tools/ffeval: include compat/getopt.c in case of missing system getopt()
12 years ago
Stefano Sabatini
a726ac9a11
examples/muxing: extend usage notice
12 years ago
Michael Niedermayer
0cc3cd5c65
Merge branch 'docu' of https://github.com/rdp/FFmpeg
...
* 'docu' of https://github.com/rdp/FFmpeg :
docu: add word resize to scale filter, to make searching for the word resize simpler
docu: change verb flite
docu: add flite ffmpeg example
docu: fix flite example
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
f1be514540
rangecoder-test: Drop timer output that clutters stderr
12 years ago
Diego Biurrun
c1fcfdec75
rangecoder-test: Return in case of an error
12 years ago
Michael Niedermayer
547ec4d303
ffmpeg: check timebase validity before using it.
...
Found-by: Daemon404
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas Noirbent
af32a1f2d1
doc/filters: pad examples should be a @subsection
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
rogerdpack
dfd085aae2
docu: add word resize to scale filter, to make searching for the word resize simpler
...
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
12 years ago
rogerdpack
a8eaa9ebc6
docu: change verb flite
...
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
12 years ago
rogerdpack
7f5a78a0da
docu: add flite ffmpeg example
...
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
12 years ago
rogerdpack
d9d5470636
docu: fix flite example
...
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
12 years ago
Paul B Mahol
3ca8a23288
lavf/audiointerleave: check return value of av_new_packet()
...
Fixes CID733709.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
bb502411dd
nutdec: check return value of av_new_packet()
...
Fixes CID733173.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Tomas Härdin
8cbb8f5357
dv: Set FS flag from AVFrame.top_field_first
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Tomas Härdin
7b383bd9d7
dvdec: Set top_field_first from FS flag
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Tomas Härdin
2b4bbd12c2
dvdec: Move the VSC pack parsing to before avctx->execute()
...
This allows the next commit to parse the FS flag.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Tim Nicholson
0ee57f8b14
rawdec.c: Extract interlace information from quicktime flag if it exisits.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Mans Rullgard
84e65c763d
build: simplify enabling of compat objects
...
Add a configure function to pull in a compat object and set up
redirects in one operation. This avoids duplicating conditions
across configure and makefiles.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
66a1ccd746
configure: simplify argument handling in check_ld
...
Use the existing filter functions instead of open-coding the
separation of general flags and libraries.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
4c995fafd8
configure: simplify get_version() function
...
awk alone can do this, no need for grep.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Luca Barbato
0fbb62a8e6
build: support asan and tsan toolchain shortcuts
12 years ago
Paul B Mahol
d7d5b5dfc1
flvdec: check return value of create_stream()
...
Fixes null pointer dereference. Fixes CID732242.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
295218f531
idcin: check chunk_size value before using it
...
Fixes integer overflow. Fixes CID732223.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
3f8148911c
img2dec: check return value of av_new_packet()
...
Fixes CID703626.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
011f3892ff
h264: use designated initializers for AVClass
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Stefano Sabatini
59e31aa2ca
examples/muxing: provide more information in case of avcodec_open2 failure
12 years ago
Stefano Sabatini
6133149e0c
examples/muxing: add missing error checks
12 years ago
Stefano Sabatini
e56b3a5ebb
examples/muxing: fix case inconsistency in message
12 years ago
Paul B Mahol
e75357ea7c
xbmenc: cosmetics: reindent
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
5864fe62ef
flacdec: replace -1 with AV_SAMPLE_FMT_NONE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
5c7a62aef5
movenc: fix tmcd parameters
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
5bac83dae8
shorten: fix U8 to be planar too
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
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
Diego Biurrun
7e68c91e24
rmdec: Move SIPR code shared with Matroska demuxer to a separate file
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