commit_msg
stringlengths 1
24.2k
| commit_hash
stringlengths 2
84
⌀ | project
stringlengths 2
40
| source
stringclasses 4
values | labels
int64 0
1
| repo_url
stringlengths 26
70
⌀ | commit_url
stringlengths 74
118
⌀ | commit_date
stringlengths 25
25
⌀ |
---|---|---|---|---|---|---|---|
avformat/latmenc: check packet side data for AAC extradata updates
This is in preparation for a following patch.
Signed-off-by: James Almer <[email protected]>
| 8b3ec51de8a04f4442297f2f835e925cab7b0597 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/8b3ec51de8a04f4442297f2f835e925cab7b0597 | 2017-05-24 20:28:00-03:00 |
avfilter/interlace: prevent over-sharpening with the complex low-pass filter
The complex vertical low-pass filter slightly over-sharpens the picture. This becomes visible when several transcodings are cascaded and the error potentises, e.g. some generations of HD->SD SD->HD.
To prevent this behaviour the destination pixel must not exceed the source pixel when the average of the pixels above and below is less than the source pixel. And the other way around.
Tested and approved in a visual transcoding cascade test by video professionals.
SSIM/PSNR test with the first generation of an HD->SD file as a reference against the 6th generation(3 x SD->HD HD->SD):
Results without the patch:
SSIM Y:0.956508 (13.615881) U:0.991601 (20.757750) V:0.993004 (21.551382) All:0.974405 (15.918463)
PSNR y:31.838009 u:48.424280 v:48.962711 average:34.759466 min:31.699297 max:40.857847
Results with the patch:
SSIM Y:0.970051 (15.236232) U:0.991883 (20.905857) V:0.993174 (21.658049) All:0.981290 (17.279202)
PSNR y:34.412108 u:48.504454 v:48.969496 average:37.264644 min:34.310637 max:42.373392
Signed-off-by: Thomas Mundt <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
| a7f6bfdc185a04a703bedd712ee306435372af12 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/a7f6bfdc185a04a703bedd712ee306435372af12 | 2017-09-15 22:40:21+02:00 |
avcodec/webp: Check for VP8X after other VP8 chunks
Signed-off-by: Michael Niedermayer <[email protected]>
| 2f2bc2e2463221dc4d02dcd8a5a0047d2cda5261 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/2f2bc2e2463221dc4d02dcd8a5a0047d2cda5261 | 2017-05-09 19:11:58+02:00 |
ffmpeg: check for unconnected outputs
Fixes e.g.:
ffmpeg -f lavfi -i testsrc -f lavfi -i testsrc -filter_complex "[0:v][1:v]psnr[out]" -f null none
| 974ee16d6a71c31d0b5db4f139a40831c2f45776 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/974ee16d6a71c31d0b5db4f139a40831c2f45776 | 2017-05-05 00:15:15+02:00 |
avformat/mux: Check return code of av_packet_split_side_data()
Fixes CID1403225
Signed-off-by: Michael Niedermayer <[email protected]>
| 8779ec91b22338ac916c48f5e6255570c44443b0 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/8779ec91b22338ac916c48f5e6255570c44443b0 | 2017-03-30 16:30:14+02:00 |
libavcodec/exr : fix float to uint16 conversion for negative float value
Signed-off-by: Michael Niedermayer <[email protected]>
| e46d63745215c04637e7797228bad36bce49d881 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/e46d63745215c04637e7797228bad36bce49d881 | 2017-04-27 04:25:31+02:00 |
doc/examples/remuxing: switch to codecpar
Also limits remuxing to audio, video and subtitle streams.
| 4a946aca7cf3c03d232953852405577e85f4da71 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/4a946aca7cf3c03d232953852405577e85f4da71 | 2017-03-28 17:46:23+02:00 |
lavc/vp9: rename ctx to avctx
This reduces diff with Libav. It also prevents a potential confusion
between the private context and the AVCodecContext.
| 12c44d637382cb7364cdd6ac72f0ba5776f286e8 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/12c44d637382cb7364cdd6ac72f0ba5776f286e8 | 2017-03-27 21:38:21+02:00 |
tests/fate/source-check: Use git grep in place of grep
grep -L is not posix, solaris default grep does not support it
Signed-off-by: Michael Niedermayer <[email protected]>
| ad7aff035517e0639c66f2003243c388450a86ac | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/ad7aff035517e0639c66f2003243c388450a86ac | 2017-03-30 03:12:05+02:00 |
mjpegenc_common: check for codec ID before using avctx->priv_data
When coding lossless jpeg the priv context will be pointing to LJpegEncContext
rather than MpegEncContext, which the function expects.
Signed-off-by: Rostislav Pehlivanov <[email protected]>
| 2c9be3882a03823413945bd9e2d9af33e6e322d5 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/2c9be3882a03823413945bd9e2d9af33e6e322d5 | 2017-04-08 23:57:39+01:00 |
matroskadec: cosmetics: Rearrange checks for projection-depedendent properties
| 9ae3506696badc226a4e73a35009de17aeee14ce | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/9ae3506696badc226a4e73a35009de17aeee14ce | 2017-03-07 17:34:32-05:00 |
mov: Fix checking layout and loading padding for cubemaps
| ac8c72f8f1f758ae7606db42eac83d04418aec48 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/ac8c72f8f1f758ae7606db42eac83d04418aec48 | 2017-03-07 17:29:52-05:00 |
avformat/hlsenc: don't use %s for strftime on msvc
MSVC doesn't support the %s time format, and instead of returning an
error the invalid parameter handler is invoked which (by default)
terminates the process.
Reviewed-by:Steven Liu <[email protected]>
Signed-off-by: Hendrik Leppkes <[email protected]>
| 3aef2fceff3205605aed19f8a81b56db56496631 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/3aef2fceff3205605aed19f8a81b56db56496631 | 2017-02-25 11:23:50+08:00 |
opus_pvq: fix PVQ search for K < 5 and low Ns
If the PVQ search picked a place to increment/decrement on the y[]
vector which had no pulse then it would cause a desync since it would
change the sum in the wrong direction. Fix this by not considering
places without pulses as viable.
This makes the PVQ search slightly worse at K < 5 which isn't all that
common. Still, this is a workaround to prevent making broken files until
I can think of a better way of fixing it.
Also add an assertion, which can be removed or moved to assert1/2 once
the PVQ search is stable.
Signed-off-by: Rostislav Pehlivanov <[email protected]>
| 67fa02ed794f9505bd9c3584c14bfb61c895f5bc | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/67fa02ed794f9505bd9c3584c14bfb61c895f5bc | 2017-02-19 19:13:14+00:00 |
AVFrame: add an opaque_ref field
This is an extended version of the AVFrame.opaque field, which can be
used to attach arbitrary user information to an AVFrame.
The usefulness of the opaque field is rather limited, because it can
store only up to 32 bits of information (or 64 bit on 64 bit systems).
It's not possible to set this field to a memory allocation, because
there is no way to deallocate it correctly.
The opaque_ref field circumvents this by letting the user set an
AVBuffer, which makes the user data refcounted.
Signed-off-by: Anton Khirnov <[email protected]>
| 04f3bd349651694f30feeb8c4ed9bc58106fca54 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/04f3bd349651694f30feeb8c4ed9bc58106fca54 | 2017-02-11 11:37:45+01:00 |
avcodec/mjpegenc: Bypass the 2 pass encoding when optimal tables are not requested
This limits the bugs, speedloss and extra memory allocation to the case when
optimal tables are needed.
Fixes regressions with slice multi-threading
Signed-off-by: Michael Niedermayer <[email protected]>
| 3e1507a9547ac09b6ff4372123cde09f19218f3d | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/3e1507a9547ac09b6ff4372123cde09f19218f3d | 2017-02-10 00:12:01+01:00 |
lavf/framesync: detect EOF immediately.
Fix an infinite loop in forward_status_change().
| 3b64e3ea45c580c5e158c086f2eb7c65635fc33b | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/3b64e3ea45c580c5e158c086f2eb7c65635fc33b | 2016-12-24 13:18:02+01:00 |
pthread_frame: use better memory orders for frame progress
This improves commit 59c70227405c214b29971e6272f3a3ff6fcce3d0.
In ff_thread_report_progress(), the fast code path can load
progress[field] with the relaxed memory order, and the slow code path
can store progress[field] with the release memory order. These changes
are mainly intended to avoid confusion when one inspects the source code.
They are unlikely to have measurable performance improvement.
ff_thread_report_progress() and ff_thread_await_progress() form a pair.
ff_thread_await_progress() reads progress[field] with the acquire memory
order (in the fast code path). Therefore, one expects to see
ff_thread_report_progress() write progress[field] with the matching
release memory order.
In the fast code path in ff_thread_report_progress(), the atomic load of
progress[field] doesn't need the acquire memory order because the
calling thread is trying to make the data it just decoded visible to the
other threads, rather than trying to read the data decoded by other
threads.
In ff_thread_get_buffer(), initialize progress[0] and progress[1] using
atomic_init().
Signed-off-by: Wan-Teh Chang <[email protected]>
Signed-off-by: Anton Khirnov <[email protected]>
Merges Libav commit 343e2833.
Signed-off-by: wm4 <[email protected]>
| c358c62550e60a150c49f192d72631142a6eedd6 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/c358c62550e60a150c49f192d72631142a6eedd6 | 2017-03-21 06:16:49+01:00 |
nvenc: Update check for lookahead
By default it is -1.
Signed-off-by: Luca Barbato <[email protected]>
| 5b26d3b789bd19a32dbe1e9c7ccab9498de7ee9b | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/5b26d3b789bd19a32dbe1e9c7ccab9498de7ee9b | 2016-12-21 06:16:52+01:00 |
dashenc: use avio_dynbuf instead of packet_write callback
The dash_write function drops data, if no IOContext is initialized.
Since the mp4 muxer is used in "frag_custom" mode, data is only
written when calling av_write_frame(NULL) explicitly and thus
there will be no data loss.
To add support for webm as subordinate muxer, which doesn't have
such a mode, a dynamic buffer is required to provide an always
initialized IOContext.
Signed-off-by: Peter Große <[email protected]>
Signed-off-by: Martin Storsjö <[email protected]>
| 01f1f017d831cf14617aaaeafcec3ae3a81efce7 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/01f1f017d831cf14617aaaeafcec3ae3a81efce7 | 2017-01-31 00:38:29+02:00 |
avfilter/af_amerge: detect EOF immediately
Fix an infinite loop in forward_status_change().
Signed-off-by: Nicolas George <[email protected]>
Signed-off-by: Marton Balint <[email protected]>
| 8156b5ac94368e5d4ddc66675ededf9b5dd507ab | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/8156b5ac94368e5d4ddc66675ededf9b5dd507ab | 2016-12-23 03:47:43+01:00 |
configure: Simplify OMX check
| 3d6135eacf3b6a82c3024620c6a28169960464a7 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/3d6135eacf3b6a82c3024620c6a28169960464a7 | 2016-12-06 08:33:08+01:00 |
configure: check for strtoull on msvc
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: James Almer <[email protected]>
| b52d3574d466e745834d1283b55570dee1e2d4cd | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/b52d3574d466e745834d1283b55570dee1e2d4cd | 2016-12-05 14:28:10-03:00 |
libavformat: Fix a faulty api deprecation guard in prepare_input_packet
This seems to have been added by mistake in 11de006b, by not
noticing the negation for the existing condition. This block does
not contain any code that accesses the codec field in AVStream.
This function is meant to serve as a complement to compute_pkt_fields2,
which is guarded by FF_API_COMPUTE_PKT_FIELDS2 && FF_API_LAVF_AVCTX.
Signed-off-by: Martin Storsjö <[email protected]>
| cdcfa97dc49d83b5eefd0a651db6bb0a6f98e8f2 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/cdcfa97dc49d83b5eefd0a651db6bb0a6f98e8f2 | 2016-12-15 12:01:48+02:00 |
rtmp: Correctly handle the Window Acknowledgement Size packets
This swaps which field is set when the Window Acknowledgement Size
and Set Peer BW packets are received, renames the fields in
order to clarify their role further and adds verbose comments
explaining their respective roles and how well the code currently
does what it is supposed to.
The Set Peer BW packet tells the receiver of the packet (which
can be either client or server) that it should not send more data
if it already has sent more data than the specified number of bytes,
without receiving acknowledgement for them. Actually checking this
limit is currently not implemented.
In order to be able to check that properly, one can send the
Window Acknowledgement Size packet, which tells the receiver of the
packet that it needs to send Acknowledgement packets
(RTMP_PT_BYTES_READ) at least after receiving a given number of bytes
since the last Acknowledgement.
Therefore, when we receive a Window Acknowledgement Size packet,
this sets the maximum number of bytes we can receive without sending
an Acknowledgement; therefore when handling this packet we should set
the receive_report_size field (previously client_report_size).
Signed-off-by: Martin Storsjö <[email protected]>
| 15a92e0c402c830b607f905d6bf203b6cfb4fa8c | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/15a92e0c402c830b607f905d6bf203b6cfb4fa8c | 2017-02-03 09:27:41+02:00 |
aarch64: vp9itxfm: Use w3 instead of x3 for the int eob parameter
The clobbering tests in checkasm are only invoked when testing
correctness, so this bug didn't show up when benchmarking the
dc-only version.
Signed-off-by: Martin Storsjö <[email protected]>
| 4d960a11855f4212eb3a4e470ce890db7f01df29 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/4d960a11855f4212eb3a4e470ce890db7f01df29 | 2016-11-18 23:17:33+02:00 |
vaapi_encode: Refactor initialisation
This allows better checking of capabilities and will make it easier
to add more functionality later.
It also commonises some duplicated code around rate control setup
and adds more comments explaining the internals.
(cherry picked from commit 80a5d05108cb218e8cd2e25c6621a3bfef0a832e)
| c8241e730f116f1c9cfc0b34110aa7f052e05332 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/c8241e730f116f1c9cfc0b34110aa7f052e05332 | 2016-11-21 22:13:41+00:00 |
avisynth: Simplify the pix_fmt check for the newer AviSynth API
The values don't need to be hardcoded since the correct values are
returned by avs_bits_per_pixel.
Signed-off-by: Diego Biurrun <[email protected]>
| aaae59700f7fc10fd80cb93b38c5d109900872d9 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/aaae59700f7fc10fd80cb93b38c5d109900872d9 | 2016-11-17 09:21:24+01:00 |
xmv: validate sample_rate
AVCodecParameters.sample_rate is a signed integer, so
XMVAudioPacket.sample_rate should be, too.
A negative sample rate doesn't make sense and triggers assertions in
av_rescale_rnd.
Signed-off-by: Andreas Cadhalpun <[email protected]>
| 34aeb5dbc4fe7267df5f0ebe2ec84c5a8d36a896 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/34aeb5dbc4fe7267df5f0ebe2ec84c5a8d36a896 | 2016-11-07 00:51:49+01:00 |
pthread_frame: use better memory orders for frame progress
This improves commit 59c70227405c214b29971e6272f3a3ff6fcce3d0.
In ff_thread_report_progress(), the fast code path can load
progress[field] with the relaxed memory order, and the slow code path
can store progress[field] with the release memory order. These changes
are mainly intended to avoid confusion when one inspects the source code.
They are unlikely to have measurable performance improvement.
ff_thread_report_progress() and ff_thread_await_progress() form a pair.
ff_thread_await_progress() reads progress[field] with the acquire memory
order (in the fast code path). Therefore, one expects to see
ff_thread_report_progress() write progress[field] with the matching
release memory order.
In the fast code path in ff_thread_report_progress(), the atomic load of
progress[field] doesn't need the acquire memory order because the
calling thread is trying to make the data it just decoded visible to the
other threads, rather than trying to read the data decoded by other
threads.
In ff_thread_get_buffer(), initialize progress[0] and progress[1] using
atomic_init().
Signed-off-by: Wan-Teh Chang <[email protected]>
Signed-off-by: Anton Khirnov <[email protected]>
| 343e2833994655c252d5236a3394bf6db7a4d8b1 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/343e2833994655c252d5236a3394bf6db7a4d8b1 | 2016-12-14 11:16:51+01:00 |
configure: Move license checks directly after command line parsing
This will allow to error out immediately if incompatible options are
passed on the command line instead of running time-consuming tests.
| 2dd464868c64fa21a6e3bd63ad364ff12999c7d0 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/2dd464868c64fa21a6e3bd63ad364ff12999c7d0 | 2016-11-09 20:51:56+01:00 |
avcodec/qpeg: Check side data size before use
Fixes out of array read
Signed-off-by: Michael Niedermayer <[email protected]>
| 16793504dfba44e738655807db3274301b9bc690 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/16793504dfba44e738655807db3274301b9bc690 | 2016-10-31 00:36:12+01:00 |
arm: vp9mc: Insert a literal pool at the middle of the file
This fixes errors like this when building non-pic binaries with armv6
as baseline:
Error: invalid literal constant: pool needs to be closer
Signed-off-by: Martin Storsjö <[email protected]>
| 392caa65df3efa8b2d48a80f08a6af4892c61c08 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/392caa65df3efa8b2d48a80f08a6af4892c61c08 | 2016-11-04 21:37:53+02:00 |
avcodec/ansi: Check dimensions
Fixes: 1.avi
Found-by: 连一汉 <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
| 69449da436169e7facaa6d1f3bcbc41cf6ce2754 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/69449da436169e7facaa6d1f3bcbc41cf6ce2754 | 2016-09-26 21:42:17+02:00 |
checkasm: arm/aarch64: Fix the amount of space reserved for stack parameters
Even if MAX_ARGS - 2 (for arm) or MAX_ARGS - 7 (for aarch64) parameters
are passed on the stack to checkasm_checked_call, we actually only
need to store MAX_ARGS - 4 (for arm) or MAX_ARGS - 8 (for aarch64)
parameters on the stack when calling the tested function.
Signed-off-by: Martin Storsjö <[email protected]>
| a05cc56124b4f1237f6355784de821e3290ddb44 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/a05cc56124b4f1237f6355784de821e3290ddb44 | 2016-10-16 23:26:15+03:00 |
avcodec/g726: Add missing ADDB output mask
Fixes: 1.poc
Fixes out of array read
Found-by: 连一汉 <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
| a5af1240fce845f645440364c1335e0f8e44ee6c | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/a5af1240fce845f645440364c1335e0f8e44ee6c | 2016-09-14 15:50:07+02:00 |
lavf: fix usage of AVIOContext.seekable
It is supposed to be a flag. The only currently defined value is
AVIO_SEEKABLE_NORMAL, but other ones may be added in the future.
However all the current lavf code treats this field as a bool (mainly
for historical reasons).
Change all those cases to properly check for AVIO_SEEKABLE_NORMAL.
| 83548fe894cdb455cc127f754d09905b6d23c173 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/83548fe894cdb455cc127f754d09905b6d23c173 | 2016-09-30 16:54:33+02:00 |
lavfi/pan: renormalize negative gain coefficients properly
The parser for the outdef will accept a negative value for the first
named channel's gain. As negative values effectively only invert the
phase of the signal, and not negate the level, the gains' absolute
values must be used to correctly accumulate the levels.
Signed-off-by: Moritz Barsnick <[email protected]>
Reviewed-by: Nicolas George <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
| efbc37a757d6b41af1a5752ff810db1dcf3fe78c | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/efbc37a757d6b41af1a5752ff810db1dcf3fe78c | 2016-10-11 03:27:59+02:00 |
avcodec/h264_slice: Make setup_finished check cover more cases
| 8385e1718ee1fed107ec911d0b17fed3f7d74c71 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/8385e1718ee1fed107ec911d0b17fed3f7d74c71 | 2016-07-27 19:29:55+02:00 |
avcodec/svq3: Reintroduce slice_type
Fixes out of array read
Fixes: 1642cd3962249d6aaf0eec2836023fb6/signal_sigsegv_2557a72_2995_04efaf2ff57a052f609a3b4a2ea4e622.mov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <[email protected]>
| 2d3099ad8ee67a4612633ea02c7fce10e5537579 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/2d3099ad8ee67a4612633ea02c7fce10e5537579 | 2016-09-08 22:16:35+02:00 |
mov: Remove ancient heuristic hack
This breaks files with legitimate single-entry edit lists,
and the hack, introduced in f03a081df09f9c4798a17d7e24446ed47924b11b,
has no link to any known sample in its commit message.
Signed-off-by: Derek Buitenhuis <[email protected]>
| 04f8d312877ffdcb816c7ff74b94eaa06dd6e1f0 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/04f8d312877ffdcb816c7ff74b94eaa06dd6e1f0 | 2016-08-25 21:12:19+02:00 |
configure: Drop check_lib()/require() in favor of check_lib2()/require2()
The latter can do everything the former can do, but also handle conditions
the former cannot like multiple header #includes and checking for headers
and functions in a single test program, which is necessary for certain
library tests.
| ab3554e1a7c04a5ea30f9c905de92348478ef7c8 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/ab3554e1a7c04a5ea30f9c905de92348478ef7c8 | 2016-09-13 10:37:01+02:00 |
vf_colorspace: Allow overriding input color properties
The filter needs input frames with color properties filled out by
the decoder. Since this is not always possible, add input options to
the filter so that user may override color space, color primaries,
transfer characteristics, and color range, as well as a generic option
to set all properties at once.
Signed-off-by: Vittorio Giovara <[email protected]>
| 5df993f3b129b6fe0a9ef6d16dc51a31bce81e13 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/5df993f3b129b6fe0a9ef6d16dc51a31bce81e13 | 2016-09-04 13:11:32+02:00 |
mov: Validate the ID number
IDs in MOV start from 1.
Signed-off-by: Diego Biurrun <[email protected]>
| 2ac00d2d1d51047c6ce69d5fbe1a08392d142658 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/2ac00d2d1d51047c6ce69d5fbe1a08392d142658 | 2016-07-29 18:46:48+02:00 |
avcodec/indeo2: check ctab
Fixes out of array access
Fixes: 6b73fa392ac808f02e95a4e0a5770026/asan_static-oob_1b15f9a_1969_e7778535e5f27225fe0d6ded14721430.AVI
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <[email protected]>
| 9ffe44c5c75c485b4cbb12751e228f18da219df3 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/9ffe44c5c75c485b4cbb12751e228f18da219df3 | 2016-08-19 14:24:13+02:00 |
checkasm: Add tests for vp8dsp
The tests are inspired by similar tests for vp9 by
Ronald Bultje.
Signed-off-by: Martin Storsjö <[email protected]>
| f8d17d53957056c053a46f9320fa7ae6fe1479a5 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/f8d17d53957056c053a46f9320fa7ae6fe1479a5 | 2016-07-08 14:10:46+03:00 |
avcodec/h2645: Fix NAL unit padding
The parser changes have lost the support for the needed padding, this adds it back
Fixes out of array reads
Fixes: 03ea21d271abc8acf428d42ace51d8b4/asan_heap-oob_3358eef_5692_16f0cc01ab5225e9ce591659e5c20e35.mkv
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <[email protected]>
| cc13bc8c4f0f4afa30d0b94c3f3a369ccd2aaf0b | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/cc13bc8c4f0f4afa30d0b94c3f3a369ccd2aaf0b | 2016-08-18 23:36:18+02:00 |
avformat/mxfdec: check if source_package is NULL
Fixes ticket #5554.
Reviewed-by: Tomas Härdin <[email protected]>
Signed-off-by: Marton Balint <[email protected]>
| 4bee44007a935adda805dfbb4494fc6502bd216a | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/4bee44007a935adda805dfbb4494fc6502bd216a | 2016-06-13 22:43:22+02:00 |
avformat/mpegts: adjust probe score for low check_count
Fixes mis-detection of tiff as mpegts
Fixes Ticket5565
Signed-off-by: Michael Niedermayer <[email protected]>
| 00c4861f13d9ec302348cfa1e2d4f1c796e9e86b | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/00c4861f13d9ec302348cfa1e2d4f1c796e9e86b | 2016-06-14 02:20:10+02:00 |
avcodec/alsdec: Check r to prevent out of array read
No testcase known
Signed-off-by: Michael Niedermayer <[email protected]>
| c36fc857b5a8f8bdf2bcc54ce72bbf817902edcf | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/c36fc857b5a8f8bdf2bcc54ce72bbf817902edcf | 2016-06-07 21:10:22+02:00 |
lavc: override decode return value only in case of error
Fixes Ticket #5350
Regression since 29412821241050c846dbceaad4b9752857659977.
| bbf02f7d288681d2ba6d522a99e6341dc3984247 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/bbf02f7d288681d2ba6d522a99e6341dc3984247 | 2016-05-01 14:53:53+02:00 |
avformat/utils: Check bps before using it in a shift in ff_get_pcm_codec_id()
Fixes undefined shift
Fixes: usan_shift
Found-by: Thomas Guilbert <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
| ea791c080dd5494b3bee0c618a3f52e371b5f320 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/ea791c080dd5494b3bee0c618a3f52e371b5f320 | 2016-05-11 00:32:32+02:00 |
avcodec/nvenc: rework library load and GPU selection
Use explicit nvenc capability checks instead to determine usable devices
instead of SM versions.
Signed-off-by: Timo Rothenpieler <[email protected]>
| 0d021cc8b30a6f81c27fbeca7f99f1ee7a20acf8 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/0d021cc8b30a6f81c27fbeca7f99f1ee7a20acf8 | 2016-05-31 16:04:53+02:00 |
lavfi/ass: fix version check for sub_text_format option
| 653af9f18839a3f6fdf6f7b8e734ef5cae1485d0 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/653af9f18839a3f6fdf6f7b8e734ef5cae1485d0 | 2016-02-27 16:26:10+01:00 |
x86inc: Improve handling of %ifid with multi-token parameters
The yasm/nasm preprocessor only checks the first token, which means that
parameters such as `dword [rax]` are treated as identifiers, which is
generally not what we want.
| 4bd5583acea5d65a2f8fd8fcd5ab7b404af23f45 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/4bd5583acea5d65a2f8fd8fcd5ab7b404af23f45 | 2016-04-20 19:16:22+02:00 |
build: fix make checkheaders in out-of-tree builds
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
| f503022ce56a27b217437af6635b191e09ab1ec5 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/f503022ce56a27b217437af6635b191e09ab1ec5 | 2016-01-23 21:47:40+01:00 |
checkasm: add videodsp emulated_edge_mc test.
| 8c9103c4aff40931aa932cb274f27af273d2c065 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/8c9103c4aff40931aa932cb274f27af273d2c065 | 2016-01-21 10:25:27-05:00 |
wtv: Speed up wtv index creation
The index creation is O(N^2) with number of entries (typically thousands).
On a Pi this can take more than 60 seconds to execute for a recording of a few hours.
By replacing with an O(N) loop, this takes virtually zero time
Liked-by: Paul B Mahol <[email protected]>
Reviewed-by: Peter Ross <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
| def56677e58de9aaa516a738b6469747662ac372 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/def56677e58de9aaa516a738b6469747662ac372 | 2016-02-01 00:40:47+01:00 |
libwebpenc_animencoder: zero initialize the WebPAnimEncoderOptions struct
This zeroes the WebPAnimEncoderOptions.verbose field, silencing library info messages
printed to stderr.
Reviewed-by: James Zern <[email protected]>
Signed-off-by: James Almer <[email protected]>
| 626b6b769ced6d3e55d2661985ab2a1cb89f481e | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/626b6b769ced6d3e55d2661985ab2a1cb89f481e | 2016-03-17 11:13:59-03:00 |
lavc: Move b_frame_strategy and b_sensitivity to codec private options
The b_frame_strategy option is only used by mpegvideoenc, qsv, x264, and
xavs, while b_sensitivity is only used by mpegvideoenc.
These are very codec-specific options, so deprecate the global variants.
Set proper limits to the maximum allowed values.
Signed-off-by: Vittorio Giovara <[email protected]>
| 0e6c8532215790bbe560a9eea4f3cc82bb55cf92 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/0e6c8532215790bbe560a9eea4f3cc82bb55cf92 | 2016-01-21 15:33:19-05:00 |
avcodec/tiff: Check subsample & rps values more completely
Fixes out of array access
Fixes: 83aedfb29af669c4d6e10f1bfad974d2/asan_heap-oob_1ab42fe_4984_9f6ec14462f8d8a00ea24b320572a963.tif
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <[email protected]>
| 89f464e9c229006e16f6bb5403c5529fdd0a9edd | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/89f464e9c229006e16f6bb5403c5529fdd0a9edd | 2016-01-18 03:51:00+01:00 |
lavf/mov: Don't limit fourcc 0 -> raw/twos to version 0 sample descriptions
Signed-off-by: Michael Niedermayer <[email protected]>
| a51c8a68adbe466a4fddd9ff83aadd16bd0ece03 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/a51c8a68adbe466a4fddd9ff83aadd16bd0ece03 | 2016-01-16 11:42:46+01:00 |
avformat/mov: Simplify format checking code
Signed-off-by: Michael Niedermayer <[email protected]>
| 47cd85e1e5b116312f5a8738e61c550ab91b6db8 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/47cd85e1e5b116312f5a8738e61c550ab91b6db8 | 2016-01-08 14:52:53+01:00 |
ffmpeg: check fclose return values
In the spirit of commit a956840cbc. Simple method to reproduce:
pass -vstats_file /dev/full to ffmpeg.
All raw fclose usages in ffmpeg.c taken care of here.
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Ganesh Ajjanagadde <[email protected]>
| 7ab37cae34b3845de7b689d167661bb4a5c2ab5b | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/7ab37cae34b3845de7b689d167661bb4a5c2ab5b | 2016-01-07 16:57:37-08:00 |
avcodec/motion_est: Fix mv_penalty table size
Fixes out of array read
Found-by: Tyson Smith <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
| 5b4da8a38a5ed211df9504c85ce401c30af86b97 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/5b4da8a38a5ed211df9504c85ce401c30af86b97 | 2016-01-05 18:10:34+01:00 |
checkasm: add synth_filter test
| 568a4323fbde03665b2b23a98068d02b39121812 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/568a4323fbde03665b2b23a98068d02b39121812 | 2015-12-21 17:40:18+01:00 |
diracdec: Fix FPE on invalid low_delay data
| 3652dd5d0ceef6281d86fbd68aa7b5552f59bb1f | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/3652dd5d0ceef6281d86fbd68aa7b5552f59bb1f | 2015-12-10 22:14:03+00:00 |
nuv: sanitize negative fps rate
Signed-off-by: Andreas Cadhalpun <[email protected]>
| f6830cf5ba03fdcfcd81a0358eb32d4081a2fcce | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/f6830cf5ba03fdcfcd81a0358eb32d4081a2fcce | 2015-12-20 12:22:45+01:00 |
aacenc_tns: use 4 bits for short windows
With only 7 coefficients per short window at most the extra precision
makes a difference and seems to reduce crackling and stddev even
further.
Signed-off-by: Rostislav Pehlivanov <[email protected]>
| 6e5dbe7267fc5790ff48225623be2ed9abd575c9 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/6e5dbe7267fc5790ff48225623be2ed9abd575c9 | 2015-12-08 13:31:50+00:00 |
network: prevent SIGPIPE on OSX
OSX does not know MSG_NOSIGNAL, and provides its own non-standard
mechanism instead. I guess Apple hates standards.
Signed-off-by: Michael Niedermayer <[email protected]>
| c41e0aedf5fc2a92502bc400010e64b8fea89d4e | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/c41e0aedf5fc2a92502bc400010e64b8fea89d4e | 2015-05-30 22:29:19+02:00 |
avformat/subtitles: treat negative duration like unknown duration
Fixes a specific srt sample, which has an event with negative duration.
libavcodec will convert an event with negative duration to an ASS event
which will be displayed forever, which is not wanted here.
Treat negative duration always as unknown duration instead, and show it
until the next subtitle event.
| a0ec4aebabe1f816cc69e20309981907ba5d1395 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/a0ec4aebabe1f816cc69e20309981907ba5d1395 | 2015-12-23 15:08:58+01:00 |
lavc/cook: get rid of wasteful pow in init_pow2table
The table is highly structured, so pow (or exp2 for that matter) can entirely
be avoided, yielding a ~ 40x speedup with no loss of accuracy.
sample benchmark (Haswell, GNU/Linux):
new:
4449 decicycles in init_pow2table(loop 1000), 254 runs, 2 skips
4411 decicycles in init_pow2table(loop 1000), 510 runs, 2 skips
4391 decicycles in init_pow2table(loop 1000), 1022 runs, 2 skips
old:
183673 decicycles in init_pow2table(loop 1000), 256 runs, 0 skips
182142 decicycles in init_pow2table(loop 1000), 512 runs, 0 skips
182104 decicycles in init_pow2table(loop 1000), 1024 runs, 0 skips
Reviewed-by: Clément Bœsch <[email protected]>
Signed-off-by: Ganesh Ajjanagadde <[email protected]>
| 05434b0eea3f959b8b44be97c56bad6ab6a0dc22 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/05434b0eea3f959b8b44be97c56bad6ab6a0dc22 | 2015-12-30 08:52:19-08:00 |
avutil/mathematics: Do not treat INT64_MIN as positive in av_rescale_rnd
The code expects actual positive numbers and gives completely wrong
results if INT64_MIN is treated as positive
Instead clip it into the valid range that is add 1 and treat it as
negative
Signed-off-by: Michael Niedermayer <[email protected]>
| 25e37f5ea92d4201976a59ae306ce848d257a7e6 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/25e37f5ea92d4201976a59ae306ce848d257a7e6 | 2015-12-01 13:26:12+01:00 |
avformat/v210: Check width and height
Fixes a floating point exception when width and height are not supplied
(and therefore are zero).
| 12a419dacb479d663f04e316f9997568ef326965 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/12a419dacb479d663f04e316f9997568ef326965 | 2015-11-23 18:34:52-08:00 |
avcodec/mpeg4videodec: Check available data before reading custom matrix
Fixes: out of array read
Fixes: 76c515fc3779d1b838667c61ea13ce92/asan_heap-oob_1fc0d07_8913_794a4629a264ebdb25b58d3a94ed1785.bit
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <[email protected]>
| 891dc8f87536ac2ec695c70d081345224524ad99 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/891dc8f87536ac2ec695c70d081345224524ad99 | 2015-11-29 23:45:31+01:00 |
dds: validate compressed source buffer size
A too small buffer will cause segfaults somewhere below
decompress_texture_thread.
Signed-off-by: Andreas Cadhalpun <[email protected]>
| 29b17528612c8b0f66e6982ab48cc0816e41f36f | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/29b17528612c8b0f66e6982ab48cc0816e41f36f | 2015-11-12 04:39:14+01:00 |
dds: validate source buffer size before copying
If it is too small av_image_copy_plane segfaults.
Signed-off-by: Andreas Cadhalpun <[email protected]>
| e6459c655e110cd9acb5d0658d89c415eaca847b | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/e6459c655e110cd9acb5d0658d89c415eaca847b | 2015-11-12 04:39:14+01:00 |
hqx: correct type and size check of info_offset
It is used as size argument of ff_canopus_parse_info_tag, which uses it
as size argument to bytestream2_init, which only supports sizes up to
INT_MAX.
Changing it's type to unsigned simplifies the check.
Reviewed-by: Vittorio Giovara <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
| 1ed7fcd42af956979abf4e32cd3c9ee17622bbcb | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/1ed7fcd42af956979abf4e32cd3c9ee17622bbcb | 2015-11-20 00:50:06+01:00 |
dvdsubdec: validate offset2 similar to offset1
If it is negative, it causes segmentation faults in decode_rle.
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
| f621749d1181987b3f815c6766ea66d6c5d55198 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/f621749d1181987b3f815c6766ea66d6c5d55198 | 2015-11-11 00:39:47+01:00 |
fate: add a parameter to disable TNS for the other encoder tests
Since it became the default option, in order to prevent interference
with the other tests, disable it.
| d4da15563fb2a313c425647e3e381c5e9e655510 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/d4da15563fb2a313c425647e3e381c5e9e655510 | 2015-10-17 11:10:26+01:00 |
aacenc: partially revert previous commits to set options via a profile
It didn't work out because of the exceptions that needed to be made
for the "-1" cases and was overall more confusing that just manually
checking and setting options for each profile.
| e9299df7a6dfb03464c121c945af5e8ea07be035 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/e9299df7a6dfb03464c121c945af5e8ea07be035 | 2015-10-17 03:17:27+01:00 |
h264: Run VLC init under pthread_once
This makes the h.264 decoder threadsafe to initialize.
Signed-off-by: Derek Buitenhuis <[email protected]>
Signed-off-by: Luca Barbato <[email protected]>
| d15368ee3926152a3a301c13cc638fbf7a062ddf | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/d15368ee3926152a3a301c13cc638fbf7a062ddf | 2015-10-14 14:35:34+02:00 |
swresample/resample: manually unroll the main loop in bessel()
About 10% faster
Signed-off-by: Michael Niedermayer <[email protected]>
| 1bc873acd6e15eaca8c2aebfd7dc6472b0429c50 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/1bc873acd6e15eaca8c2aebfd7dc6472b0429c50 | 2015-10-07 18:00:58+02:00 |
libkvazaar: Remove unnecessary NULL checks
Signed-off-by: Arttu Ylä-Outinen <[email protected]>
| 425d6134ed88f00927fe7fc225f940cfc43f2d76 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/425d6134ed88f00927fe7fc225f940cfc43f2d76 | 2015-10-07 17:09:00+03:00 |
libkvazaar: Use av_image_copy for copying pixels
Replaces a for loop for copying pixels by a call to av_image_copy.
Signed-off-by: Arttu Ylä-Outinen <[email protected]>
| 5fefa7b512cc8e2141d595a6a7ed77de13da4e18 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/5fefa7b512cc8e2141d595a6a7ed77de13da4e18 | 2015-10-07 17:09:08+03:00 |
avformat/srtdec: fix number check for the first character
| d161a2a72b083c51ec8fad33a29283703f5fd0cc | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/d161a2a72b083c51ec8fad33a29283703f5fd0cc | 2015-10-01 11:46:05+02:00 |
lavc: Deprecate AVPicture structure and related functions
This structure served as a bridge between data pointers and frames,
but it suffers from several limitations:
- it is not refcounted and data must be copied to every time
- it cannot be expanded without ABI break due to being used on the stack
- its functions are just wrappers to imgutils which add a layer of
unneeded indirection, and maintenance burden
- it allows hacks like embedding uncompressed data in packets
- its use is often confusing to our users
AVFrame provides a much better API, and, if a full blown frame is not
needed, it is just as simple and more straightfoward to use data and
linesize arrays directly.
Signed-off-by: Vittorio Giovara <[email protected]>
| dca23ffbc7568c9af5c5fbaa86e6a0761ecae50c | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/dca23ffbc7568c9af5c5fbaa86e6a0761ecae50c | 2015-10-22 13:32:15+02:00 |
x86/vp9dsp: add missing header include
Fixes make checkheaders
Signed-off-by: James Almer <[email protected]>
| 91fcb10f081519e95cf28c465b6d098a0b4b6f2a | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/91fcb10f081519e95cf28c465b6d098a0b4b6f2a | 2015-09-21 14:34:08-03:00 |
swresample/resample: speed up build_filter for Blackman-Nuttall filter
This uses the trigonometric double and triple angle formulae to avoid
repeated (expensive) evaluation of libc's cos().
Sample benchmark (x86-64, Haswell, GNU/Linux)
test: fate-swr-resample-dblp-44100-2626
old:
1104466600 decicycles in build_filter(loop 1000), 256 runs, 0 skips
1096765286 decicycles in build_filter(loop 1000), 512 runs, 0 skips
1070479590 decicycles in build_filter(loop 1000), 1024 runs, 0 skips
new:
588861423 decicycles in build_filter(loop 1000), 256 runs, 0 skips
591262754 decicycles in build_filter(loop 1000), 512 runs, 0 skips
577355145 decicycles in build_filter(loop 1000), 1024 runs, 0 skips
This results in small differences with the old expression:
difference (worst case on [0, 2*M_PI]), argmax 0.008:
max diff (relative): 0.000000000000157289807188
blackman_old(0.008): 0.000363951585488813192382
blackman_new(0.008): 0.000363951585488755946507
These are judged to be insignificant for the performance gain. PSNR to
reference file is unchanged up to second decimal point for instance.
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Ganesh Ajjanagadde <[email protected]>
| c8780822bacc38a8d84c882d564b07dd152366ed | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/c8780822bacc38a8d84c882d564b07dd152366ed | 2015-11-05 21:52:40-05:00 |
x86/vp9mc: add missing preprocessor guards
Signed-off-by: James Almer <[email protected]>
| e47564828b9b351f874f24d66306294b7741b768 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/e47564828b9b351f874f24d66306294b7741b768 | 2015-09-18 15:14:53-03:00 |
avcodec/x86/cavsdsp: silence -Wunused-variable on --disable-mmx
This silences -Wunused-variable when compiled with --disable-mmx, e.g
http://fate.ffmpeg.org/log.cgi?time=20150919094617&log=compile&slot=x86_64-archlinux-gcc-disable-mmx.
The alternative of header guards will make it far too ugly.
Signed-off-by: Ganesh Ajjanagadde <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
| 07cd8d5676a72d80661e9bfde0a26d83aca4d029 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/07cd8d5676a72d80661e9bfde0a26d83aca4d029 | 2015-09-24 04:27:50+02:00 |
avutil/color_utils: Add basic transfer functions for each AVColorTransferCharacteristic
Most functions are valid over a domain and range of [0.0-1.0] but
some are defined over greater. This patch does not deal with
AVColorRange and assumes AVCOL_RANGE_JPEG for the returned values.
Signed-off-by: Kevin Wheatley <[email protected]>
| bac90482654219cfdde65680726b85516dcbdc66 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/bac90482654219cfdde65680726b85516dcbdc66 | 2015-09-10 23:53:05+02:00 |
avcodec/hapdec: Check section_size for non negativity in parse_section_header()
Signed-off-by: Michael Niedermayer <[email protected]>
| 205c31b301864e675d051b07b19b6c457cf2ab24 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/205c31b301864e675d051b07b19b6c457cf2ab24 | 2015-09-05 00:37:53+02:00 |
avcodec/h264_mp4toannexb_bsf: Reorder operations in nal_size check
Fixes Ticket4778
Signed-off-by: Michael Niedermayer <[email protected]>
| 2bb54b82b5094fd906aa28c0443be08c95662a31 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/2bb54b82b5094fd906aa28c0443be08c95662a31 | 2015-08-21 03:37:32+02:00 |
avcodec/libopusenc: Fix infinite loop on flushing after 0 input
Signed-off-by: Michael Niedermayer <[email protected]>
| 6701c92fa4269872856c70c3170a9b3291b46247 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/6701c92fa4269872856c70c3170a9b3291b46247 | 2015-08-27 12:44:31+02:00 |
avcodec: add missing FF_API_CODEC_ID guard
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
| 2e9c8be8342c10a6cc3a124298e27a5d2234512f | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/2e9c8be8342c10a6cc3a124298e27a5d2234512f | 2015-08-08 21:58:31+02:00 |
checkasm: Explicitly declare function prototypes
Now we no longer have to rely on function pointers intentionally
declared without specified argument types.
This makes it easier to support functions with floating point parameters
or return values as well as functions returning 64-bit values on 32-bit
architectures. It also avoids having to explicitly cast strides to
ptrdiff_t for example.
| 18b101ff595c7f18e9571d26f8840f556b24ec03 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/18b101ff595c7f18e9571d26f8840f556b24ec03 | 2015-08-19 16:17:35+02:00 |
avcodec/utils: Check that the sample rate is not negative when opening an encoder
Signed-off-by: Michael Niedermayer <[email protected]>
| 10d7d0880cd849caa81a872d2e01948ef7369485 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/10d7d0880cd849caa81a872d2e01948ef7369485 | 2015-07-13 03:51:33+02:00 |
aacenc_tns: adjust coefficient calculation, add double filter support
This commit improves the TNS implementation to the point where it's
actually usable and very rarely results in nastyness (in all bitrates
except extremely low bitrates it's increasing the quality and prevents
some distortions from the coder being audiable).
Also adds a double filter support which is only used if the energy
difference between the top and bottom of the SFBs is above the
thresholds defined in the header file. Looking at the bitstream
that fdk_aac generates it sometimes used a double filter despite
the specs stating that a single filter should be enough for almost
all cases and purposes.
Unlike FAAC or fdk_aac we sometimes use a reverse filter in case
the energy difference isn't enought to use a double filter. This
actually works better.
Signed-off-by: Rostislav Pehlivanov <[email protected]>
| e3faad811e429002d549562db4e0fc30c08dc6a4 | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/e3faad811e429002d549562db4e0fc30c08dc6a4 | 2015-09-05 09:08:30+01:00 |
avcodec/jpeg2000dec: Limit x/y step to 1<<30
Fixes infinite loop
Fixes Ticket4663
Signed-off-by: Michael Niedermayer <[email protected]>
| 9ff5e7974a8fe32c3b595a481c06a41fa316a9ac | ffmpeg | devign | 0 | https://github.com/ffmpeg/ffmpeg | https://github.com/ffmpeg/ffmpeg/commit/9ff5e7974a8fe32c3b595a481c06a41fa316a9ac | 2015-06-25 00:43:49+02:00 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.