[FFmpeg-devel] [PATCH 24/41] avcodec/adpcmenc: Use smaller scope for some variables
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Wed Jul 21 06:40:24 EEST 2021
Andreas Rheinhardt:
> This is to avoid unused variables warnings if the code for disabled
> encoders is #if'ed away which will happen in a subsequent commit.
> In case of buf it also avoids shadowing.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
> libavcodec/adpcmenc.c | 105 ++++++++++++++++++++++--------------------
> 1 file changed, 54 insertions(+), 51 deletions(-)
> The remaining patches of this patchset (namely the ones concering adpcm)
have been ok'ed by Zane on IRC; I will therefore push them tonight.
- Andreas
More information about the ffmpeg-devel
mailing list