[vlc-commits] demux: vobsub: use proper scan notation
Francois Cartegnie
git at videolan.org
Tue Oct 8 19:15:12 CEST 2019
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Oct 8 15:49:10 2019 +0200| [c4d509056a05e6182d27b8a6e2eaa0e80d1bb85b] | committer: Francois Cartegnie
demux: vobsub: use proper scan notation
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c4d509056a05e6182d27b8a6e2eaa0e80d1bb85b
---
modules/demux/vobsub.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/demux/vobsub.h b/modules/demux/vobsub.h
index 6a8b846352..7ae5eb97d6 100644
--- a/modules/demux/vobsub.h
+++ b/modules/demux/vobsub.h
@@ -39,10 +39,10 @@ static inline void vobsub_palette_rgb2yuv( uint32_t *pu_palette )
static inline int vobsub_palette_parse( const char *psz_buf, uint32_t *pu_palette )
{
if( sscanf( psz_buf, "palette: "
- "%" PRIx32", %" PRIx32 ", %" PRIx32 ", %" PRIx32 ", "
- "%" PRIx32", %" PRIx32 ", %" PRIx32 ", %" PRIx32 ", "
- "%" PRIx32", %" PRIx32 ", %" PRIx32 ", %" PRIx32 ", "
- "%" PRIx32", %" PRIx32 ", %" PRIx32 ", %" PRIx32 "",
+ "%" SCNx32", %" SCNx32 ", %" SCNx32 ", %" SCNx32 ", "
+ "%" SCNx32", %" SCNx32 ", %" SCNx32 ", %" SCNx32 ", "
+ "%" SCNx32", %" SCNx32 ", %" SCNx32 ", %" SCNx32 ", "
+ "%" SCNx32", %" SCNx32 ", %" SCNx32 ", %" SCNx32 "",
&pu_palette[0], &pu_palette[1], &pu_palette[2], &pu_palette[3],
&pu_palette[4], &pu_palette[5], &pu_palette[6], &pu_palette[7],
&pu_palette[8], &pu_palette[9], &pu_palette[10], &pu_palette[11],
More information about the vlc-commits
mailing list