quinkbl...@foxmail.com (12019-12-04): > From: Zhao Zhili <zhiliz...@tencent.com> > > !(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. > --- > libavfilter/buffersrc.c | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-)
Well spotted. Pushed. Thanks. Regards, -- Nicolas George
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".