Carl Eugen Hoyos
271a00043e
lavf/rawdec: Do not mark streams from raw subtitle demuxers as data streams.
...
Improves "ffmpeg -i" output for raw dvbsub files.
6 years ago
Paul B Mahol
68f289dacd
avcodec/opus: check if internal is available
6 years ago
Peter Ross
331715534a
avpriv_tempfile: add djgpp fallback
6 years ago
Peter Ross
8b7a1c2227
configure: memalign is broken on djgpp 2.05
...
djgpp 2.05 finally provides posix-compatible memalign, but it is broken,
so use malloc instead.
discussion: http://www.delorie.com/archives/browse.cgi?p=djgpp/2017/12/29/16:26:58
6 years ago
Peter Ross
dea1224754
additional math.h functions for djgpp
6 years ago
Peter Ross
533ba0b6b5
configure: detect djgpp libc
6 years ago
Paul B Mahol
18aea7bdd9
avcodec/opus: set skip_samples
...
Also update fate test. Fixes #5258 .
6 years ago
Mark Thompson
b9aff7a53d
hwcontext_opencl: Only release command queue if it exists
...
If the frames context creation fails then the command queue reference
need not exist when uninit is called.
6 years ago
Carl Eugen Hoyos
8cc5107705
lavf/Makefile: Fix demuxer dependencies: dvbsub, dvbtxt
...
Allow standalone compilation of the dvbsub and the dvbtxt demuxer.
6 years ago
Carl Eugen Hoyos
698574ac5d
ffmpeg: Avoid duplicating Closed Captions when increasing frame rate.
...
Fixes ticket #7506 .
6 years ago
Carl Eugen Hoyos
1893c72086
lavfi/fps: Avoid duplicating Closed Captions when increasing frame rate.
6 years ago
Michael Niedermayer
28c96c2ce2
avcodec/diracdec: Check component quant
...
Fixes: Timeout
Fixes: 10708/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5730140957442048
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Andrey Semashev
1035206102
lavf/dashdec: Add webm to the list of allowed extensions.
...
This is in coherence with dashenc, which can now generate segments with
webm file name extension by default. Dashdec should be able to handle
such streams by default as well.
6 years ago
Jun Zhao
1ffac23885
fftools/ffmpeg: delete the unused code.
...
There are come from 2012 ago and have never been used from this
time.
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
6 years ago
Jun Zhao
7608809ae4
fftools/ffprobe: Indent the code.
...
commit 196765a7cc
missed the reindet.
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
6 years ago
Jun Zhao
e002ec332b
lavfi/buffersrc: Indent the code.
...
commit b0012de420
missed reindent.
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
6 years ago
Michael Niedermayer
a036c25969
avcodec/tiff: Fix integer overflows in left shift in init_image()
...
Fixes: left shift of 255 by 24 places cannot be represented in type 'int'
Fixes: 11377/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-5694319101476864
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Carl Eugen Hoyos
5a7617136a
lavc/jrevdct: Avoid an aliasing violation.
...
Fixes fate on different PowerPC systems with some compilers.
Analyzed-by: Lauri Kasanen
6 years ago
Kyle Swanson
fd2d6f376d
libavf/libvmaf: update docs
...
Signed-off-by: Kyle Swanson <kswanson@netflix.com>
6 years ago
Mark Harris
4361293fcf
avutil/mem: Fix invalid use of av_alloc_size
...
The alloc_size attribute is valid only on functions that return a
pointer. GCC 9 (not yet released) warns about invalid usage:
./libavutil/mem.h:342:1: warning: 'alloc_size' attribute ignored on a function returning int' [-Wattributes]
342 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
| ^~~~~~~~~~~~~
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Mark Harris
8108064043
avfilter/vf_chromashift: Fix mixed declaration and code
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Mark Harris
01dc152a92
avformat/vivo: Don't log null value
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
James Almer
2ddaaaf595
avcodec/libaomenc: increase the default bitrate
...
aom_codec_enc_config_default() sets it to 256kbps, so don't replace
it with 200kbps.
See https://bugs.chromium.org/p/aomedia/issues/detail?id=2219
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
Michael Niedermayer
90ac0e5f29
avcodec/tiff: Limit filtering to decoded data
...
Fixes: Timeout
Fixes: 11068/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-5698456681709568
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Lauri Kasanen
46c5693ea3
swscale/output: Altivec-optimize yuv2plane1_8
...
./ffmpeg_g -f rawvideo -pix_fmt rgb24 -s hd1080 -i /dev/zero -pix_fmt yuv420p \
-f null -vframes 100 -v error -nostats -
1158 UNITS in planar1, 65528 runs, 8 skips
-cpuflags 0
19082 UNITS in planar1, 65533 runs, 3 skips
16.48 speedup ratio. On x86, SSE2 is ~7. Curiously, the Power C version
takes as many cycles as the x86 SSE2 version, yikes it's fast.
Note that this function uses VSX instructions, but is not marked so.
This is because several existing functions also make that mistake.
I'll submit a patch moving them once this is reviewed.
Signed-off-by: Lauri Kasanen <cand@gmx.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
James Almer
cc25529420
avcodec/libdav1d: update the API usage after upstream changes
...
The color fields were moved to another struct, and a way to propagate
timestamps and other input metadata was introduced, so the packet fifo
can be removed.
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
Martin Vignali
e488d7b4f5
fate/prores-metadata : make output bit exact
6 years ago
Paul B Mahol
7488d58436
avcodec/eac3dec: remove obsolete comment
6 years ago
Steven Liu
f9ea493147
avformat/hlsenc: remove the cannot reach result
...
fix CID: 1441166
because the logic have checked the vtt_dirname before
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
6 years ago
Limin Wang
370b8bd847
libavcodec/libdavs2.c: Fix for the wrong line size is used
...
Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
6 years ago
Carl Eugen Hoyos
737b5f5869
configure: Add -Wno-char-subscripts.
...
Silences many warnings on systems with signed char where
the compiler cannot distinguish between char and int8_t.
6 years ago
Carl Eugen Hoyos
63c8558667
configure: Disable direct stripping on sunos.
...
Sunos strip doesn't know -o.
Reported-by: Michael Kostylev
6 years ago
Igor Derzhavin
f95c928f80
avformat/pcmdec: endianness for audio/L16 mime type
6 years ago
Igor Derzhavin
b058617fae
avformat/pcmdec: audio/L16 should be in network byte order by default (rfc 2586)
6 years ago
Igor Derzhavin
a80530a627
avformat/pcmdec: mime-type should be case insensitive (audio/L16)
6 years ago
Paul B Mahol
24386b1707
avformat/dhav: improve A/V sync
...
Actual stored timestamps take only 16bits.
6 years ago
Michael Niedermayer
2ae39d7956
avcodec/truemotion2: fix integer overflows in tm2_low_chroma()
...
Fixes: 11295/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEMOTION2_fuzzer-4888953459572736
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Martin Vignali
86e6f0dbc7
swscale : add support for YUVA444P12 and YUVA422P12
6 years ago
Martin Vignali
80b0624099
avutil : add YUVA444P12 and YUVA422P12
6 years ago
Paul B Mahol
b80003fe28
avformat: add DHAV demuxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years ago
Paul B Mahol
0279cb4f69
avcodec: add truehd_core bitstream filter
6 years ago
Andrey Semashev
fa08345e88
lavf/dashenc: Fix segment duration overflow on fine time bases.
...
When stream time bases are very fine grained (e.g. nanoseconds), 32-bit
segment duration may overflow for even for rather small segment duration
(about 4 seconds long). Therefore we use 64-bit values for segment duration.
6 years ago
Andreas Rheinhardt
e895b800fe
cbs_h2645: Avoid memcpy when splitting fragment
...
Now memcpy is avoided for NAL units that don't contain 0x03 escape
characters.
Improves performance of cbs_h2645_fragment_add_nals from 36940
decicycles to 6364 decicycles based on 8 runs with a 5.1 Mb/s H.264
sample (262144 runs each).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
6 years ago
Paul B Mahol
97d1ee437b
avformat/movenc: get number of written bytes from bitstream writer
...
Update fate test.
6 years ago
Paul B Mahol
027f032bbc
avformat/movenc: fix size calculation in mov_write_eac3_tag()
...
Otherwise it would assert when flushing bits.
6 years ago
Paul B Mahol
7d70f09307
avutil/avsscanf: do not use unsupported p suffix for hex variable
6 years ago
kjeyapal@akamai.com
ce0a753634
avformat/http : Added check for valid URL context before calling shutdown
6 years ago
kjeyapal@akamai.com
4903662a1d
avformat/dashenc : Handled error from ff_http_do_new_request() cleanly
6 years ago
James Almer
3913d6f734
x86/scene_sad: fix link errors when HAVE_X86ASM is not defined
...
Reviewed-by: Haihao Xiang <haihao.xiang@intel.com>
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
Andrey Semashev
d290bb0c54
lavf/dashenc: Fix AVDictionary leaks in case of various init errors.
6 years ago