diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2014-08-18 14:51:25 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2014-08-21 16:59:07 +0200 |
commit | aade9884e95c6f6da5a856da95501bc14a6225aa (patch) | |
tree | fcf32d5e987a5bcb27c2d3abba5437799c818be1 /libavfilter/version.h | |
parent | 4728cdd88033c2bd41ae675d7df9aaf3f578136b (diff) | |
download | ffmpeg-streaming-aade9884e95c6f6da5a856da95501bc14a6225aa.zip ffmpeg-streaming-aade9884e95c6f6da5a856da95501bc14a6225aa.tar.gz |
lavfi/apad: fix logic when whole_len or pad_len options are specified
In particular, allow pad_len and whole_len to have value set to 0, which
means that no padding will be added. Previously a value set to 0 meant
that that the filter had to pad forever.
The new semantics is clearer, also simplifies scripting since the option
value might be automatically computed, so that no checks need to be done
in case it is 0.
The old semantics was never documented and the logic was broken (the
filter was always adding samples indefinitely), so this should not break
backward compatibility.
Diffstat (limited to 'libavfilter/version.h')
-rw-r--r-- | libavfilter/version.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/version.h b/libavfilter/version.h index 28c510e..eb3c12b 100644 --- a/libavfilter/version.h +++ b/libavfilter/version.h @@ -31,7 +31,7 @@ #define LIBAVFILTER_VERSION_MAJOR 5 #define LIBAVFILTER_VERSION_MINOR 0 -#define LIBAVFILTER_VERSION_MICRO 101 +#define LIBAVFILTER_VERSION_MICRO 102 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \ LIBAVFILTER_VERSION_MINOR, \ |