Commit bb7add17 authored by Laurent Aimar's avatar Laurent Aimar

Fixed uninitialized i_samples in block_t.

parent fdf97225
......@@ -64,6 +64,7 @@ void block_Init( block_t *restrict b, void *buf, size_t size )
b->i_dts = VLC_TS_INVALID;
b->i_length = 0;
b->i_rate = 0;
b->i_samples = 0;
b->p_buffer = buf;
b->i_buffer = size;
#ifndef NDEBUG
......
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