[vlc-commits] vout_subpictures: fix misplaced unlikely()
Steve Lhomme
git at videolan.org
Fri Jul 12 10:16:28 CEST 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jul 12 10:15:47 2019 +0200| [b31c27f6c27ae2d50b01fd50888231c42de0cade] | committer: Steve Lhomme
vout_subpictures: fix misplaced unlikely()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b31c27f6c27ae2d50b01fd50888231c42de0cade
---
src/video_output/vout_subpictures.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/video_output/vout_subpictures.c b/src/video_output/vout_subpictures.c
index fff0f77119..bdc2237173 100644
--- a/src/video_output/vout_subpictures.c
+++ b/src/video_output/vout_subpictures.c
@@ -166,7 +166,7 @@ static ssize_t spu_GetFreeChannelId(spu_t *spu, enum vlc_vout_order *order)
{
spu_private_t *sys = spu->p;
- if (unlikely(sys->channels.size) > SSIZE_MAX)
+ if (unlikely(sys->channels.size > SSIZE_MAX))
return VOUT_SPU_CHANNEL_INVALID;
size_t id;
More information about the vlc-commits
mailing list