[vlc-commits] rtpfmt: silence warnings
Lyndon Brown
git at videolan.org
Wed Mar 20 15:34:39 CET 2019
vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Mon Mar 18 07:30:21 2019 +0000| [b0f0e10b67a113fc9cf67216943e69f3aec42ea0] | committer: Thomas Guillem
rtpfmt: silence warnings
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b0f0e10b67a113fc9cf67216943e69f3aec42ea0
---
modules/stream_out/rtpfmt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/stream_out/rtpfmt.c b/modules/stream_out/rtpfmt.c
index 226e10e766..29032581fd 100644
--- a/modules/stream_out/rtpfmt.c
+++ b/modules/stream_out/rtpfmt.c
@@ -1829,7 +1829,7 @@ static int rtp_packetize_jpeg( sout_stream_id_sys_t *id, block_t *in )
const uint8_t *qtables = NULL;
int nb_qtables = 0;
int off = 0; // fragment offset in frame
- int y_sampling_factor;
+ int y_sampling_factor = 0;
// type is set by pixel format (determined by y_sampling_factor):
// 0 for yuvj422p
// 1 for yuvj420p
@@ -1837,7 +1837,7 @@ static int rtp_packetize_jpeg( sout_stream_id_sys_t *id, block_t *in )
int type;
int w = 0; // Width in multiples of 8
int h = 0; // Height in multiples of 8
- int restart_interval;
+ int restart_interval = 0;
int dri_found = 0;
// Skip SOI
More information about the vlc-commits
mailing list