Re: [FFmpeg-devel] [PATCH 24/41] avcodec/adpcmenc: Use smaller scope for some variables

2021-07-21 Thread Andreas Rheinhardt
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 > --- > libavcodec/adpcmenc.c | 105 +

[FFmpeg-devel] [PATCH 24/41] avcodec/adpcmenc: Use smaller scope for some variables

2021-06-16 Thread 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 --- libavcodec/adpcmenc.c | 105 ++ 1 file chan