From d72e9994b9e1f1e9bb63a6fcc958c28bf3b4573c Mon Sep 17 00:00:00 2001 From: Paul Buonopane Date: Tue, 15 Mar 2022 11:11:19 -0400 Subject: [PATCH] Fix #45: Missing braces in for loop --- h264_sei.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/h264_sei.c b/h264_sei.c index 6c728fc..c60bd3c 100644 --- a/h264_sei.c +++ b/h264_sei.c @@ -684,7 +684,11 @@ void read_debug_sei_payload( h264_stream_t* h, bs_t* b ) } for ( i = 0; i < s->payloadSize; i++ ) - printf("%ld.%d: ", (long int)(b->p - b->start), b->bits_left); s->data[i] = bs_read_u8(b); printf("s->data[i]: %d \n", s->data[i]); + { + printf("%ld.%d: ", (long int)(b->p - b->start), b->bits_left); + s->data[i] = bs_read_u8(b); + printf("s->data[i]: %d \n", s->data[i]); + } } //if( 1 )