Commit 2d788119 authored by Julian Scheel's avatar Julian Scheel Committed by Jean-Baptiste Kempf

mmal/codec: Silence build warnings

Signed-off-by: default avatarJulian Scheel <julian@jusst.de>
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 146fcb56
...@@ -272,7 +272,7 @@ static void CloseDecoder(decoder_t *dec) ...@@ -272,7 +272,7 @@ static void CloseDecoder(decoder_t *dec)
/* Free pictures which are decoded but have not yet been sent /* Free pictures which are decoded but have not yet been sent
* out to the core */ * out to the core */
while (buffer = mmal_queue_get(sys->decoded_pictures)) { while ((buffer = mmal_queue_get(sys->decoded_pictures))) {
picture_t *pic = (picture_t *)buffer->user_data; picture_t *pic = (picture_t *)buffer->user_data;
picture_Release(pic); picture_Release(pic);
...@@ -421,7 +421,7 @@ static int send_output_buffer(decoder_t *dec) ...@@ -421,7 +421,7 @@ static int send_output_buffer(decoder_t *dec)
picture_sys_t *p_sys; picture_sys_t *p_sys;
picture_t *picture; picture_t *picture;
MMAL_STATUS_T status; MMAL_STATUS_T status;
int buffer_size = 0; unsigned buffer_size = 0;
int ret = 0; int ret = 0;
if (!sys->output->is_enabled) if (!sys->output->is_enabled)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment