OSDN Git Service
Thomas Turner [Wed, 28 Dec 2016 02:43:18 +0000 (18:43 -0800)]
avutil/tests/audio_fifo.c: use av_malloc() family of functions
Signed-off-by: Thomas Turner <thomastdt@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Wed, 28 Dec 2016 22:41:29 +0000 (23:41 +0100)]
configure: Check build with some header not just preprocessing for testing --std=c11
Fixes build failure on FreeBSD with gcc 4.7
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Clément Bœsch [Sat, 31 Dec 2016 12:00:56 +0000 (13:00 +0100)]
lavfi/selectivecolor: rename adjust_range to scale
This variable corresponds to the final scale of the adjustement for a
given color range.
Carl Eugen Hoyos [Sat, 31 Dec 2016 11:06:42 +0000 (12:06 +0100)]
doc/filters: Slightly improve the smartblur documentation.
Fixes ticket #6034.
Michael Niedermayer [Sat, 31 Dec 2016 02:08:33 +0000 (03:08 +0100)]
avcodec/mjpegdec: Check for rgb before flipping
Fixes assertion failure due to unsupported case
Fixes: 356/fuzz-1-ffmpeg_VIDEO_AV_CODEC_ID_MJPEG_fuzzer
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Carl Eugen Hoyos [Fri, 30 Dec 2016 11:08:26 +0000 (12:08 +0100)]
lavc/psd: Remove an uninitialized variable.
James Almer [Wed, 28 Dec 2016 00:54:55 +0000 (21:54 -0300)]
configure: make the check for stdatomic.h stricter
Old ICC verions don't advertise having a full C11 implementation but
may nonetheless include a feature-incomplete stdatomic.h header.
Fixes ticket #6049
Signed-off-by: James Almer <jamrial@gmail.com>
Michael Niedermayer [Wed, 28 Dec 2016 01:35:14 +0000 (02:35 +0100)]
avfilter/vf_pad: Add eval=frame support
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Matt Wolenetz [Mon, 21 Nov 2016 23:54:02 +0000 (15:54 -0800)]
lavf/utils.c Protect against accessing entries[nb_entries]
In ff_index_search_timestamp(), if b == num_entries,
m == num_entries - 1, and entries[m].flags & AVINDEX_DISCARD_FRAME is
true, then the search for the next non-discarded packet could access
entries[nb_entries], exceeding its bounds. This change adds a protection
against that scenario. Reference: https://crbug.com/666770
Reviewed-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Bela Bodecs [Thu, 29 Dec 2016 04:00:20 +0000 (12:00 +0800)]
libavformat/hlsenc: fix delete_segments when use_localtime_mkdir
When delete_segments hls_flag is specified, deleting old segments may
fail in certain cases when use_localtime_mkdir is in effect and
hls_segment_filename expression contains subdirs. This patch fixes this
behaviour.
Signed-off-by: Bela Bodecs <bodecsb@vivanet.hu>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Michael Niedermayer [Mon, 26 Dec 2016 20:35:12 +0000 (21:35 +0100)]
ffmpeg: remove stop_encoding variable and related code, it is dead / unused code
Fixes: CID1396243
Reviewed-by: compn <tempn@mi.rr.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Paul B Mahol [Wed, 28 Dec 2016 15:52:32 +0000 (16:52 +0100)]
avfilter/avf_aphasemeter: make video output optional
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Jan Sebechlebsky [Sun, 30 Oct 2016 18:18:21 +0000 (19:18 +0100)]
libavformat/tee: Add fifo support for tee
Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
Michael Bradshaw [Wed, 28 Dec 2016 05:34:41 +0000 (21:34 -0800)]
avcodec/libopenjpegdec: Set key frame metadata
Signed-off-by: Michael Bradshaw <mjbshaw@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Thomas Turner [Wed, 28 Dec 2016 02:43:20 +0000 (18:43 -0800)]
avutil/tests/audio_fifo.c: Corrected test error messages
Signed-off-by: Thomas Turner <thomastdt@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Burt P [Sun, 18 Dec 2016 06:20:48 +0000 (00:20 -0600)]
af_hdcd: more FATE tests
Additional/Modified FATE tests improve code coverage from 63.7% to 98.1%.
Changed fate-suite sample files:
* filter/hdcd-mix.flac (958K) added. It is a much better test than
filter/hdcd.flac (910K), which is now unused, but can't be removed.
* filter/hdcd-fake20bit.flac (168K) added. It is the first second of
filter/hdcd.flac, with the 16-bit LSB copied into bit 20 of a 24-bit
stream. There isn't an actual non-16-bit HDCD sample available to test.
Signed-off-by: Burt P <pburt0@gmail.com>
Clément Bœsch [Tue, 27 Dec 2016 22:43:59 +0000 (23:43 +0100)]
lavfi/selectivecolor: simplify crazy mid val computations
Clément Bœsch [Tue, 27 Dec 2016 08:36:18 +0000 (09:36 +0100)]
lavfi/transpose: add missing const options flags
Fixes ffmpeg -h filter=transpose
Christophe Gisquet [Tue, 27 Dec 2016 09:18:51 +0000 (09:18 +0000)]
MAINTAINERS: update
Ronald S. Bultje [Tue, 20 Dec 2016 23:01:05 +0000 (18:01 -0500)]
wmavoice: protect against zero-energy in adaptive gain control.
Otherwise the scale factor becomes NaN, resulting in corrupt output.
Fixes #5426.
Ronald S. Bultje [Tue, 20 Dec 2016 22:10:33 +0000 (17:10 -0500)]
wmavoice: move overflow handling to common code.
Ronald S. Bultje [Tue, 20 Dec 2016 22:14:41 +0000 (17:14 -0500)]
wmavoice: reindent.
Ronald S. Bultje [Tue, 20 Dec 2016 22:14:26 +0000 (17:14 -0500)]
wmavoice: disable bitstream checking.
The checked bitstream reader does that already. To allow parsing of
superframes split over a packet boundary, we always decode the last
superframe in each packet at the start of the next packet, even if
theoretically we could have decoded it. The last superframe in the
last packet is decoded using AV_CODEC_CAP_DELAY.
Ronald S. Bultje [Tue, 20 Dec 2016 22:03:46 +0000 (17:03 -0500)]
wmavoice: move wmavoice_flush() up.
Ronald S. Bultje [Thu, 17 Nov 2016 21:08:20 +0000 (16:08 -0500)]
checkasm/vp9: benchmark all sub-IDCTs (but not WHT or ADST).
Bodecs Bela [Tue, 27 Dec 2016 02:40:35 +0000 (10:40 +0800)]
avformat/hlsenc: strftime identifiers and segment index
in filenames
Putting date/time values into segment filenames is very usefull.
But to produce non-conflicting segment filenames with -use_localtime
option with date/time
values in hls_segment_filename option, sometimes is not enough.
Like in cases when multiple segments produced in the same second.
But hlsenc currently does not make possible to use segment index (%d) at
the
same time whe use_localtime is in effect, due to identifier conflict.
This patch makes possible to use strftime identifiers and still put
segment index (%d) at same time in segment filenames by introducing
second_level_segment_index flag. When -use_localtime is active,
identifier %d is for month day index, so %%d is the segment index
placeholder. This enhanced behaviour only exists when new
second_level_segment_index flag is specified.
For instance putting 'segment_%Y%m%d%H%M%S_%%05d.ts' value into
-hls_segment_filename option and specifing -hls_flags
second_level_segment_index and -use_localtime 1, may produce segment
filename as 'segment_20161230235758_00002.ts'
An example:
ffmpeg -loglevel info -y -f lavfi -i color=c=red:size=640x480:r=25 -f
lavfi -i anullsrc=r=44100:cl=stereo -c:v mpeg2video -g 25 -acodec aac
-cutoff 20000 -ac 2 -ar 44100 -ab 192k -f hls -hls_time 3 -hls_list_size
5 -hls_flags delete_segments+second_level_segment_index -use_localtime 1
-hls_segment_filename "segment_%Y%m%d%H%M%S_%%05d.ts" stream.m3u8
will produce segments filenames:
....
segment_20161227005902_00013.ts
segment_20161227005902_00014.ts
segment_20161227005902_00015.ts
segment_20161227005903_00016.ts
segment_20161227005903_00017.ts
segment_20161227005903_00018.ts
segment_20161227005903_00019.ts
segment_20161227005903_00020.ts
....
Signed-off-by: Bela Bodecs <bodecsb@vivanet.hu>
Jesper Ek [Tue, 27 Dec 2016 02:10:44 +0000 (10:10 +0800)]
Fix bug when incrementing initial_prog_date_time when removing segments
initial_prog_date_time shouldn't be adjusted when deleting segments
from disk, but rather when segments are removed from the playlist.
Signed-off-by: Jesper Ek <deadbeef84@gmail.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Michael Niedermayer [Mon, 26 Dec 2016 02:16:01 +0000 (03:16 +0100)]
avformat/matroskadec: Fix OOM on long streams
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Marton Balint [Sat, 10 Dec 2016 12:57:01 +0000 (13:57 +0100)]
avdevice/decklink_enc: do not reference this after freeing it
Fixes Coverity CID
1396863.
Signed-off-by: Marton Balint <cus@passwd.hu>
Marton Balint [Sat, 10 Dec 2016 12:20:31 +0000 (13:20 +0100)]
avdevice/decklink_dec: properly initialize no_video variable
Fixes Coverity CID
1396859.
Signed-off-by: Marton Balint <cus@passwd.hu>
Michael Niedermayer [Mon, 26 Dec 2016 19:25:23 +0000 (20:25 +0100)]
ffmpeg: Check avcodec_parameters_to_context() for failure
Fixes CID1396241
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Paul B Mahol [Mon, 26 Dec 2016 19:28:40 +0000 (20:28 +0100)]
avcodec/ylc: thread safe initialization is possible with this codec
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Mon, 26 Dec 2016 19:27:01 +0000 (20:27 +0100)]
avcodec/ylc: add frame threading support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Mon, 26 Dec 2016 19:18:00 +0000 (20:18 +0100)]
avcodec/ylc: do not leak memory at uninit
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Mon, 26 Dec 2016 16:41:38 +0000 (17:41 +0100)]
doc/examples/http_multiclient: Fix resource leak
Fixes CID1396269
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Bela Bodecs [Fri, 23 Dec 2016 23:21:23 +0000 (00:21 +0100)]
flv demuxer supports live rtmp inputs but there is no any info about it in the docs.
Signed-off-by: Bela Bodecs <bodecsb@vivanet.hu>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Paul B Mahol [Mon, 26 Dec 2016 16:34:57 +0000 (17:34 +0100)]
avcodec/magicyuv: export colorspace and color_range for YUV
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Ruta Gadkari [Mon, 26 Dec 2016 07:49:16 +0000 (13:19 +0530)]
NVENC: Update check for Lookahead
Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org>
James Almer [Mon, 26 Dec 2016 02:16:58 +0000 (23:16 -0300)]
avcodec/lossless_videodsp: fix output of add_hfyu_left_pred_int16_c()
It is now bitexact with the ssse3 and sse4.1 versions of the function.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Bela Bodecs [Mon, 26 Dec 2016 10:14:40 +0000 (18:14 +0800)]
avformat/hlsenc: detecting duplicated segment filenames
ffmpeg-devel
with use_localtime parameter hlsenc may produce identical filenames for
different but still existing segments. It happens when
hls_segment_filename contains
syntacticaly correct but inadequate format parameters. Currently there
is no any log message when such a situaton occurs but these cases should
be avoided in most times. This patch generate warning log messages in
these cases.
ticketID: #6043
Signed-off-by: Bela Bodecs <bodecsb@vivanet.hu>
Signed-off-by: Steven Liu <lingjiujianke@gmail.com>
Michael Niedermayer [Sun, 25 Dec 2016 20:21:31 +0000 (21:21 +0100)]
avcodec/error_resilience: Move variable initialization down, remove unneeded inits
This makes the code faster and easier to read
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Ganesh Ajjanagadde [Thu, 22 Dec 2016 17:51:31 +0000 (09:51 -0800)]
ffplay: add startup volume option
Fixes Ticket 5389.
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Ganesh Ajjanagadde <gajjanag@alum.mit.edu>
Marton Balint [Thu, 15 Dec 2016 02:28:20 +0000 (03:28 +0100)]
avfilter/af_amerge: properly handle unknown input layouts
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Marton Balint <cus@passwd.hu>
Michael Niedermayer [Sun, 25 Dec 2016 19:22:06 +0000 (20:22 +0100)]
avcodec/error_resilience: Merge surrounding status checks
Simplifies code and is also faster
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Sun, 25 Dec 2016 19:16:00 +0000 (20:16 +0100)]
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>
Paul B Mahol [Sun, 11 Sep 2016 10:11:00 +0000 (12:11 +0200)]
avfilter/vf_w3fdif: add >8 but <16 bit support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Sat, 24 Dec 2016 15:42:00 +0000 (16:42 +0100)]
avcodec/pixlet: simplify lowpass_prediction() function
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Sat, 24 Dec 2016 13:26:41 +0000 (14:26 +0100)]
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>
Michael Niedermayer [Fri, 23 Dec 2016 23:07:16 +0000 (00:07 +0100)]
tools/zmqsend: Do not truncate fgetc() return
Fixes CID1396836
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Nicolas George [Fri, 23 Dec 2016 20:39:46 +0000 (21:39 +0100)]
lavfi/buffersrc: push the frame deeper if requested.
Reduce peak memory consumption with ffmpeg in certain cases.
Nicolas George [Sat, 24 Dec 2016 09:33:33 +0000 (10:33 +0100)]
lavf/framesync: detect EOF immediately.
Fix an infinite loop in forward_status_change().
Paul B Mahol [Sat, 24 Dec 2016 09:59:26 +0000 (10:59 +0100)]
avcodec/utvideo: fix mistake using wrong arguments for left and lefttop pixel components
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Sat, 24 Dec 2016 09:31:43 +0000 (10:31 +0100)]
avcodec/pixlet: make sure scaling factors are not zero
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Sat, 24 Dec 2016 09:26:27 +0000 (10:26 +0100)]
avcodec/pixlet: avoid some overflows
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Sat, 24 Dec 2016 09:22:39 +0000 (10:22 +0100)]
avcodec/pixlet: fix undefined behaviour in postprocess_chroma
Signed-off-by: Paul B Mahol <onemda@gmail.com>
James Almer [Sat, 24 Dec 2016 04:56:24 +0000 (01:56 -0300)]
avfilter/framequeue: add missing check for ASSERT_LEVEL
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 24 Dec 2016 00:47:03 +0000 (21:47 -0300)]
tests/audio_fifo: fix buffer allocation for non planar formats
Signed-off-by: James Almer <jamrial@gmail.com>
Michael Niedermayer [Fri, 23 Dec 2016 20:14:59 +0000 (21:14 +0100)]
swscale/swscale: Fix dereference of stride array before null check
Fixes: CID1396263
Fixes: CID1396271
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Tobias Rapp [Fri, 23 Dec 2016 13:50:16 +0000 (14:50 +0100)]
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>
Michael Niedermayer [Fri, 23 Dec 2016 02:04:47 +0000 (03:04 +0100)]
avutil/tests/random_seed: eliminate goto
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Paul B Mahol [Fri, 23 Dec 2016 17:53:20 +0000 (18:53 +0100)]
avfilter/vf_deband: do not use uninitialized value
Fixes coverity report.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Fri, 23 Dec 2016 14:41:51 +0000 (15:41 +0100)]
avcodec/utvideodec: add SIMD support for median prediction for planar formats
~10% faster overall.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Nicolas George [Fri, 23 Dec 2016 10:18:09 +0000 (11:18 +0100)]
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.
Paul B Mahol [Fri, 23 Dec 2016 10:10:47 +0000 (11:10 +0100)]
avcodec/asvdec: return correct value in case of error
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Fri, 23 Dec 2016 08:41:06 +0000 (09:41 +0100)]
avcodec/pixlet: check out of bounds pfx value
Signed-off-by: Paul B Mahol <onemda@gmail.com>
James Almer [Thu, 22 Dec 2016 23:45:32 +0000 (20:45 -0300)]
avcodec/pixlet: remove unnecessary double to float conversion
Signed-off-by: James Almer <jamrial@gmail.com>
Nicolas George [Thu, 22 Dec 2016 11:04:12 +0000 (12:04 +0100)]
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>
Thomas Turner [Fri, 23 Dec 2016 00:12:36 +0000 (16:12 -0800)]
avutil/tests: Improved code coverage for random_seed
Signed-off-by: Thomas Turner <thomastdt@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Paul B Mahol [Fri, 2 Dec 2016 19:30:50 +0000 (20:30 +0100)]
avcodec: add Apple Pixlet decoder
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Thu, 22 Dec 2016 20:45:24 +0000 (21:45 +0100)]
avfilter/vf_deband: add planes coupling mode
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Pavel Koshevoy [Sun, 18 Dec 2016 05:48:50 +0000 (22:48 -0700)]
fate: Add test for ticket 6024, truncated decoding mode
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Thu, 22 Dec 2016 18:04:55 +0000 (19:04 +0100)]
ffserver_config: Check for failure to allocate FFServerIPAddressACL
Fixes CID1396537
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
James Almer [Thu, 22 Dec 2016 15:11:13 +0000 (12:11 -0300)]
tests/avstring: free the pointer after calls to av_d2str()
Fixes memleaks.
Signed-off-by: James Almer <jamrial@gmail.com>
Paul B Mahol [Thu, 22 Dec 2016 17:39:02 +0000 (18:39 +0100)]
doc/general: mention recently added PCM codecs
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Thu, 22 Dec 2016 02:59:03 +0000 (03:59 +0100)]
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>
Carl Eugen Hoyos [Thu, 22 Dec 2016 10:48:18 +0000 (11:48 +0100)]
doc/filters: Fix vsbmc option name.
Reported-by: Антон Приходько
Nicolas George [Thu, 22 Dec 2016 09:26:03 +0000 (10:26 +0100)]
lavfi: take_samples: free frames after taking all samples.
Paul B Mahol [Mon, 19 Sep 2016 21:08:32 +0000 (23:08 +0200)]
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>
Paul B Mahol [Mon, 19 Sep 2016 20:26:39 +0000 (22:26 +0200)]
avcodec: add pcm_f16le and pcm_f24le decoder
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Thu, 22 Dec 2016 08:45:40 +0000 (09:45 +0100)]
avcodec/wmaprodec: cleanup extradata dumping
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Wed, 21 Dec 2016 22:41:49 +0000 (23:41 +0100)]
avformat/mpegenc: Check for av_mallocz() failure
Fixes CID1257787
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Wed, 21 Dec 2016 21:03:55 +0000 (22:03 +0100)]
avformat/img2dec: Remove dead code from psd_probe()
Fixes CID1397124
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Paul B Mahol [Wed, 21 Dec 2016 20:37:22 +0000 (21:37 +0100)]
avfilter/vf_psnr: add gray10 and gray12 support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Wed, 21 Dec 2016 02:11:44 +0000 (03:11 +0100)]
avutil/random_seed: Use uint64 instead of uint8 for struct to avoid potential alignment issues
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Thomas Turner [Wed, 21 Dec 2016 00:53:51 +0000 (16:53 -0800)]
avutil: Added selftest for libavutil/audio_fifo.c
Signed-off-by: Thomas Turner <thomastdt@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Andreas Cadhalpun [Fri, 16 Dec 2016 01:29:56 +0000 (02:29 +0100)]
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>
Thomas Turner [Tue, 20 Dec 2016 02:44:42 +0000 (18:44 -0800)]
avutil: Improved test coverage for avstring.c
Signed-off-by: Thomas Turner <thomastdt@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Paul B Mahol [Mon, 19 Dec 2016 22:21:49 +0000 (23:21 +0100)]
avcodec/magicyuv: add 10 bit support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Nicolas George [Mon, 19 Dec 2016 07:55:30 +0000 (08:55 +0100)]
lavfi/framequeue: avoid empty structs.
Fix compilation on MSVC.
Chen Meng [Fri, 11 Nov 2016 03:42:26 +0000 (11:42 +0800)]
avformat/mov.: Make the process of uuid-xmp atom faster.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Pavel Koshevoy [Sun, 18 Dec 2016 00:14:48 +0000 (17:14 -0700)]
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>
Michael Niedermayer [Sat, 17 Dec 2016 17:40:53 +0000 (18:40 +0100)]
doc/examples/decoder_targeted: Limit max pixels for fuzzing
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Nicolas George [Sun, 3 Jan 2016 14:44:42 +0000 (15:44 +0100)]
lavfi: make filter_frame non-recursive.
A lot of changes happen at the same time:
- Add a framequeue fifo to AVFilterLink.
- split AVFilterLink.status into status_in and status_out: requires
changes to the few filters and programs that use it directly
(f_interleave, split, filtfmts).
- Add a field ready to AVFilterContext, marking when the filter is ready
and its activation priority.
- Add flags to mark blocked links.
- Change ff_filter_frame() to enqueue the frame.
- Change all filtering functions to update the ready field and the
blocked flags.
- Update ff_filter_graph_run_once() to use the ready field.
- buffersrc: always push the frame immediately.
Nicolas George [Thu, 3 Dec 2015 19:05:14 +0000 (20:05 +0100)]
lavfi: add FFFrameQueue API.
Paul B Mahol [Sun, 18 Dec 2016 09:06:29 +0000 (10:06 +0100)]
avcodec/get_bits: add av_assert2 to get_bits_long()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Rostislav Pehlivanov [Sun, 18 Dec 2016 07:10:48 +0000 (07:10 +0000)]
opus: remove redundant ff_celt_window2 declaration
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Ståle Kristoffersen [Tue, 11 Oct 2016 13:36:40 +0000 (15:36 +0200)]
avformat: Auto-detect mjpeg 2000 in mpeg-ts
This makes it possible to decode motion jpeg 2000
encoded in a transport stream without a correct PMT/PAT.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Jay Ridgeway [Sun, 16 Oct 2016 14:28:21 +0000 (10:28 -0400)]
avformat/tls: add tls url_get_file_handle
Support url_get_file_handle on TLS streams.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Pavel Koshevoy [Thu, 15 Dec 2016 17:19:23 +0000 (10:19 -0700)]
lavc: Fix ticket 6024, truncated mode decoding
The assumption that avcodec_send_packet makes regarding decoders
consuming the entire packet is not true if the codec supports
truncated decoding mode and the truncated flag is turned on.
Steps to reproduce:
./ffmpeg_g -flags truncated \
-i "http://samples.ffmpeg.org/MPEG2/test-ebu-422.40000.pakets.ts" \
-c:v ffv1 -c:a copy -y /tmp/truncated.nut
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Zhou Xiaoyong [Mon, 10 Oct 2016 08:11:37 +0000 (16:11 +0800)]
avcodec/mips: version 1 of vc1dsp optimizations for loongson mmi
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>