aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/split.c
diff options
context:
space:
mode:
authorZhao Zhili <zhilizhao@tencent.com>2019-12-04 21:41:07 +0800
committerNicolas George <george@nsup.org>2019-12-23 17:02:55 +0100
commitbf08264daa97898daf02e4cc5aabb7641cb3eb6f (patch)
treea2305d861f9f258b58d64f35bbf9cf51fd59a7cd /libavfilter/split.c
parentf0b3b55002b7ad024ef94f005cd718a14d85e485 (diff)
downloadffmpeg-bf08264daa97898daf02e4cc5aabb7641cb3eb6f.tar.gz
avfilter/buffersrc: remove redundant flag
!(c->pix_fmt != AV_PIX_FMT_NONE || c->got_format_from_params) equals (c->pix_fmt == AV_PIX_FMT_NONE) && !c->got_format_from_params 1. When (c->pix_fmt == AV_PIX_FMT_NONE) is true, got_format_from_params is always false, the flag doesn't contribute to the result. 2. When the first part is false, the second part doesn't matter, the flag doesn't contribute to the result. The result only depends on c->pix_fmt.
Diffstat (limited to 'libavfilter/split.c')
0 files changed, 0 insertions, 0 deletions