mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2025-02-07 21:07:33 +00:00
fix ffmpeg issue
Signed-off-by: ziyugao <gaoziyu0614@outlook.com>
This commit is contained in:
parent
87005dc61d
commit
6b6696e7e0
@ -1972,7 +1972,7 @@ av_cold int sws_init_context(SwsContext *c, SwsFilter *srcFilter,
|
||||
/* unscaled special cases */
|
||||
if (unscaled && !usesHFilter && !usesVFilter &&
|
||||
(c->srcRange == c->dstRange || isAnyRGB(dstFormat) ||
|
||||
isFloat(srcFormat) || isFloat(dstFormat) || ifBayer(srcFormat))){
|
||||
isFloat(srcFormat) || isFloat(dstFormat) || isBayer(srcFormat))){
|
||||
ff_get_unscaled_swscale(c);
|
||||
|
||||
if (c->convert_unscaled) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user