dcadec: Always initialize return variable
Silence an uninitialized warning from clang.
This commit is contained in:
parent
bb198c4997
commit
4c160fa239
@ -1147,7 +1147,7 @@ static float dca_dmix_code(unsigned code)
|
|||||||
static int scan_for_extensions(AVCodecContext *avctx)
|
static int scan_for_extensions(AVCodecContext *avctx)
|
||||||
{
|
{
|
||||||
DCAContext *s = avctx->priv_data;
|
DCAContext *s = avctx->priv_data;
|
||||||
int core_ss_end, ret;
|
int core_ss_end, ret = 0;
|
||||||
|
|
||||||
core_ss_end = FFMIN(s->frame_size, s->dca_buffer_size) * 8;
|
core_ss_end = FFMIN(s->frame_size, s->dca_buffer_size) * 8;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user