mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user