Marton Balint
89a1471a72
avdevice/decklink_dec: properly initialize no_video variable
...
Fixes Coverity CID 1396859.
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Michael Niedermayer
11103a493d
ffmpeg: Check avcodec_parameters_to_context() for failure
...
Fixes CID1396241
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Paul B Mahol
2f347c17d6
avcodec/ylc: thread safe initialization is possible with this codec
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
31bf37cba8
avcodec/ylc: add frame threading support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
341d3ee441
avcodec/ylc: do not leak memory at uninit
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Michael Niedermayer
89d4d7d759
doc/examples/http_multiclient: Fix resource leak
...
Fixes CID1396269
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Bela Bodecs
ce5c7260df
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>
8 years ago
Paul B Mahol
12461636ea
avcodec/magicyuv: export colorspace and color_range for YUV
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Ruta Gadkari
67db4ff3b6
NVENC: Update check for Lookahead
...
Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org>
8 years ago
James Almer
c3d822855c
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>
8 years ago
Bela Bodecs
e7fbd70189
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>
8 years ago
Michael Niedermayer
6e26b6e43f
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>
8 years ago
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