mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
volume: remove duplicated condition.
This commit is contained in:
parent
35da85562d
commit
96fc1f0733
@ -48,9 +48,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
|
||||
if (*tail) {
|
||||
if (!strcmp(tail, "dB")) {
|
||||
/* consider the argument an adjustement in decibels */
|
||||
if (!strcmp(tail, "dB")) {
|
||||
d = pow(10,d/20);
|
||||
}
|
||||
d = pow(10, d/20);
|
||||
} else {
|
||||
/* parse the argument as an expression */
|
||||
ret = av_expr_parse_and_eval(&d, args, NULL, NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user