Commit 2da69726 authored by Tristan Matthews's avatar Tristan Matthews

avcodec: missing initializer (cid #1191736)

parent 710ad7ed
...@@ -709,7 +709,7 @@ int OpenEncoder( vlc_object_t *p_this ) ...@@ -709,7 +709,7 @@ int OpenEncoder( vlc_object_t *p_this )
* Copied from audio.c * Copied from audio.c
*/ */
const unsigned i_order_max = 8 * sizeof(p_context->channel_layout); const unsigned i_order_max = 8 * sizeof(p_context->channel_layout);
uint32_t pi_order_dst[AOUT_CHAN_MAX]; uint32_t pi_order_dst[AOUT_CHAN_MAX] = { };
int i_channels_src = 0; int i_channels_src = 0;
if( p_context->channel_layout ) if( p_context->channel_layout )
......
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