[vlc-commits] [Git][videolan/vlc][master] es_format: fix format with no masks that were set a mask
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Sep 1 13:24:03 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
044464ee by Steve Lhomme at 2023-09-01T12:52:16+00:00
es_format: fix format with no masks that were set a mask
The assert is disabled for now as in many cases the chroma may be replaced
but the mask not reset.
- - - - -
1 changed file:
- src/misc/es_format.c
Changes:
=====================================
src/misc/es_format.c
=====================================
@@ -65,6 +65,10 @@ void video_format_FixRgb( video_format_t *p_fmt )
break;
default:
+ // assert(!"a bogus mask was set on a chroma");
+ p_fmt->i_rmask = 0;
+ p_fmt->i_gmask = 0;
+ p_fmt->i_bmask = 0;
return;
}
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/044464ee0d3b098c09db9ab97cebc58fe3aadd35
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/044464ee0d3b098c09db9ab97cebc58fe3aadd35
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list