avcodec/g726: Don't return value from g726_reset()

It always returns zero which none of the callers check,
so just return nothing instead.

Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2026-04-06 19:26:07 +02:00
parent e97f52e557
commit 8463ca8dc9

View File

@@ -275,7 +275,7 @@ static int16_t g726_decode(G726Context* c, int I)
return av_clip(re_signal * 4, -0xffff, 0xffff);
}
static av_cold int g726_reset(G726Context *c)
static av_cold void g726_reset(G726Context *c)
{
int i;
@@ -291,8 +291,6 @@ static av_cold int g726_reset(G726Context *c)
c->yl = 34816;
c->y = 544;
return 0;
}
#if CONFIG_ADPCM_G726_ENCODER || CONFIG_ADPCM_G726LE_ENCODER