Permalink
Browse files

Fix uninitialized pointer read (coverity-1215703).

  • Loading branch information...
1 parent f7b6b8d commit c0c9fac68a5828270fbd03dfa0cb79dfcc6c6e0f @ddennedy ddennedy committed May 24, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/modules/linsys/consumer_SDIstream.c
@@ -428,7 +428,7 @@ static void *consumer_thread(void *arg) {
mlt_events_fire( MLT_CONSUMER_PROPERTIES(consumer), "consumer-fatal-error", NULL );
}
- uint8_t *video_buffer;
+ uint8_t *video_buffer = NULL;
int16_t *audio_buffer_tmp; // the upstream audio buffer
// Loop until told not to

0 comments on commit c0c9fac

Please sign in to comment.