Ganesh Ajjanagadde
7b557bf63f
ffplay: add startup volume option
...
Fixes Ticket 5389.
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Ganesh Ajjanagadde <gajjanag@alum.mit.edu>
8 years ago
Marton Balint
0db48ee425
avfilter/af_amerge: properly handle unknown input layouts
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Michael Niedermayer
d5ecffbac6
avcodec/error_resilience: Merge surrounding status checks
...
Simplifies code and is also faster
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
cafc72bd7b
avcodec/error_resilience: Factor block parity check out
...
This makes the code noticably faster when there are lots of blocks
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Paul B Mahol
c6c888e996
avfilter/vf_w3fdif: add >8 but <16 bit support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
25c4035529
avcodec/pixlet: simplify lowpass_prediction() function
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Michael Niedermayer
c4152fc42e
avutil/random_seed: Reduce the time needed on systems with very low precission clock()
...
This should fix issues on BSD
CLOCKS_PER_SEC is 128 on BSD while SUSv2 requires it to be a million
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
87f6f15460
tools/zmqsend: Do not truncate fgetc() return
...
Fixes CID1396836
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Nicolas George
0ff5567a30
lavfi/buffersrc: push the frame deeper if requested.
...
Reduce peak memory consumption with ffmpeg in certain cases.
8 years ago
Nicolas George
3b64e3ea45
lavf/framesync: detect EOF immediately.
...
Fix an infinite loop in forward_status_change().
8 years ago
Paul B Mahol
68e5598e22
avcodec/utvideo: fix mistake using wrong arguments for left and lefttop pixel components
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
6cedd20b97
avcodec/pixlet: make sure scaling factors are not zero
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
ab31b46b89
avcodec/pixlet: avoid some overflows
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
43cd33be16
avcodec/pixlet: fix undefined behaviour in postprocess_chroma
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
James Almer
e1b8271949
avfilter/framequeue: add missing check for ASSERT_LEVEL
...
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
James Almer
94eb600f35
tests/audio_fifo: fix buffer allocation for non planar formats
...
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Michael Niedermayer
03ce71e4a1
swscale/swscale: Fix dereference of stride array before null check
...
Fixes: CID1396263
Fixes: CID1396271
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Tobias Rapp
6d579d7c1b
avformat/avidec: skip odml master index chunks in avi_sync
...
Fixes pts gaps when reading AVI files > 256GiB generated by FFmpeg.
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
c193132ce5
avutil/tests/random_seed: eliminate goto
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Paul B Mahol
9b26bf7e2a
avfilter/vf_deband: do not use uninitialized value
...
Fixes coverity report.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
ea93052db3
avcodec/utvideodec: add SIMD support for median prediction for planar formats
...
~10% faster overall.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Nicolas George
373f21a911
lavfi: avfilter_graph_request_oldest: request a frame again before returning.
...
With min_samples, if a frame arrives but is too small, it clears
frame_wanted_out. In most cases, the destination filter would be
activated again later because of frame_wanted_out on its own
outputs, but not sinks.
avfilter_graph_request_oldest() is doing the work of the sink
itself, and is therefore allowed to use frame_blocked_in.
8 years ago
Paul B Mahol
0ed4993ad0
avcodec/asvdec: return correct value in case of error
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
51ed1a7dd4
avcodec/pixlet: check out of bounds pfx value
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
James Almer
41de965e31
avcodec/pixlet: remove unnecessary double to float conversion
...
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Nicolas George
8156b5ac94
avfilter/af_amerge: detect EOF immediately
...
Fix an infinite loop in forward_status_change().
Signed-off-by: Nicolas George <george@nsup.org>
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Thomas Turner
8dcb28cf6d
avutil/tests: Improved code coverage for random_seed
...
Signed-off-by: Thomas Turner <thomastdt@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Paul B Mahol
73651090ca
avcodec: add Apple Pixlet decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
fdcb7a85cf
avfilter/vf_deband: add planes coupling mode
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Pavel Koshevoy
47cd8effea
fate: Add test for ticket 6024, truncated decoding mode
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
f9315ea984
ffserver_config: Check for failure to allocate FFServerIPAddressACL
...
Fixes CID1396537
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
James Almer
0abcebe3d6
tests/avstring: free the pointer after calls to av_d2str()
...
Fixes memleaks.
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Paul B Mahol
c5168b4b54
doc/general: mention recently added PCM codecs
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Michael Niedermayer
da73d95bad
avutil/random_seed: Improve get_generic_seed() with higher precission clock()
...
Tested-by: Thomas Turner <thomastdt@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Carl Eugen Hoyos
0098eeaa62
doc/filters: Fix vsbmc option name.
...
Reported-by: Антон Приходько
8 years ago
Nicolas George
ff8b17c998
lavfi: take_samples: free frames after taking all samples.
8 years ago
Paul B Mahol
3142691181
avformat/wavdec: add support for decoding 24.0 and 16.8 floating point pcm formats
...
Fixes #5602 and #5603 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
95fb9e0205
avcodec: add pcm_f16le and pcm_f24le decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
4cf96c5642
avcodec/wmaprodec: cleanup extradata dumping
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Michael Niedermayer
9b9e4a71c5
avformat/mpegenc: Check for av_mallocz() failure
...
Fixes CID1257787
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
fd1fcb59dc
avformat/img2dec: Remove dead code from psd_probe()
...
Fixes CID1397124
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Paul B Mahol
9933579a9b
avfilter/vf_psnr: add gray10 and gray12 support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Michael Niedermayer
54931fd0fb
avutil/random_seed: Use uint64 instead of uint8 for struct to avoid potential alignment issues
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Thomas Turner
9f76ad2a46
avutil: Added selftest for libavutil/audio_fifo.c
...
Signed-off-by: Thomas Turner <thomastdt@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Andreas Cadhalpun
319438e2f2
swscale: save ebx register when it is not available
...
Configure checks if the ebx register can be used for asm and it has to
be saved if and only if this is not the case.
Without this the build fails when configuring with --toolchain=hardened
--disable-pic on i386 using gcc 4.8:
error: PIC register clobbered by '%ebx' in 'asm'
In that case gcc 4.8 reserves the ebx register for the GOT needed for
PIE, so it can't be used in asm directly.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years ago
Thomas Turner
e303e3d4b9
avutil: Improved test coverage for avstring.c
...
Signed-off-by: Thomas Turner <thomastdt@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Paul B Mahol
6d09d6edbc
avcodec/magicyuv: add 10 bit support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Nicolas George
bec8ea20c8
lavfi/framequeue: avoid empty structs.
...
Fix compilation on MSVC.
8 years ago
Chen Meng
25e35b3436
avformat/mov.: Make the process of uuid-xmp atom faster.
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Pavel Koshevoy
4240e5b047
lavfi/atempo: avoid false triggering an assertion failure
...
Steps to reproduce:
./ffmpeg_g -f s16be -i /dev/null -af atempo=0.5 -y /tmp/atempo.wav
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago