[vlc-commits] [Git][videolan/vlc][master] av1: fix condition scope issue in macro
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Mon Dec 20 17:46:24 UTC 2021
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
510e3f07 by Lyndon Brown at 2021-12-20T16:56:53+00:00
av1: fix condition scope issue in macro
caused a big block of warnings.
- - - - -
1 changed file:
- modules/packetizer/av1.c
Changes:
=====================================
modules/packetizer/av1.c
=====================================
@@ -90,7 +90,10 @@ static bool block_Differs(const block_t *a, const block_t *b)
{\
block_ChainLastAppend(&p_sys->name.pp_chain_last, b);\
if(p_sys->tu.dts == VLC_TICK_INVALID)\
- p_sys->tu.dts = b->i_dts; p_sys->tu.pts = b->i_pts;\
+ {\
+ p_sys->tu.dts = b->i_dts;\
+ p_sys->tu.pts = b->i_pts;\
+ }\
}
static void UpdateDecoderFormat(decoder_t *p_dec)
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/510e3f07648100164c7a1f8ff9a2afd7126ff1f6
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/510e3f07648100164c7a1f8ff9a2afd7126ff1f6
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list