diff mbox series

[FFmpeg-devel] avcodec/adpcmenc: remove forward declaration

Message ID 20200620183410.95013-1-andriy.gelman@gmail.com
State Accepted
Commit 536e5dfa73b0c5e87deb7f36d22dcc784b3570de
Headers show
Series [FFmpeg-devel] avcodec/adpcmenc: remove forward declaration | expand

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

Andriy Gelman June 20, 2020, 6:34 p.m. UTC
From: Andriy Gelman <andriy.gelman@gmail.com>

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
---
 libavcodec/adpcmenc.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Lance Wang June 20, 2020, 11:07 p.m. UTC | #1
On Sat, Jun 20, 2020 at 02:34:10PM -0400, Andriy Gelman wrote:
> From: Andriy Gelman <andriy.gelman@gmail.com>
> 
> Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
> ---
>  libavcodec/adpcmenc.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/libavcodec/adpcmenc.c b/libavcodec/adpcmenc.c
> index 1fe1aef6f5..1e94ef4047 100644
> --- a/libavcodec/adpcmenc.c
> +++ b/libavcodec/adpcmenc.c
> @@ -58,8 +58,6 @@ typedef struct ADPCMEncodeContext {
>  
>  #define FREEZE_INTERVAL 128
>  
> -static av_cold int adpcm_encode_close(AVCodecContext *avctx);
> -
>  static av_cold int adpcm_encode_init(AVCodecContext *avctx)
>  {
>      ADPCMEncodeContext *s = avctx->priv_data;
> -- 
> 2.26.2

LGTM


> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
Andriy Gelman June 21, 2020, 3:27 a.m. UTC | #2
On Sun, 21. Jun 07:07, lance.lmwang@gmail.com wrote:
> On Sat, Jun 20, 2020 at 02:34:10PM -0400, Andriy Gelman wrote:
> > From: Andriy Gelman <andriy.gelman@gmail.com>
> > 
> > Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
> > ---
> >  libavcodec/adpcmenc.c | 2 --
> >  1 file changed, 2 deletions(-)
> > 
> > diff --git a/libavcodec/adpcmenc.c b/libavcodec/adpcmenc.c
> > index 1fe1aef6f5..1e94ef4047 100644
> > --- a/libavcodec/adpcmenc.c
> > +++ b/libavcodec/adpcmenc.c
> > @@ -58,8 +58,6 @@ typedef struct ADPCMEncodeContext {
> >  
> >  #define FREEZE_INTERVAL 128
> >  
> > -static av_cold int adpcm_encode_close(AVCodecContext *avctx);
> > -
> >  static av_cold int adpcm_encode_init(AVCodecContext *avctx)
> >  {
> >      ADPCMEncodeContext *s = avctx->priv_data;
> > -- 
> > 2.26.2

> 
> LGTM
> 

Thanks, applied.
diff mbox series

Patch

diff --git a/libavcodec/adpcmenc.c b/libavcodec/adpcmenc.c
index 1fe1aef6f5..1e94ef4047 100644
--- a/libavcodec/adpcmenc.c
+++ b/libavcodec/adpcmenc.c
@@ -58,8 +58,6 @@  typedef struct ADPCMEncodeContext {
 
 #define FREEZE_INTERVAL 128
 
-static av_cold int adpcm_encode_close(AVCodecContext *avctx);
-
 static av_cold int adpcm_encode_init(AVCodecContext *avctx)
 {
     ADPCMEncodeContext *s = avctx->priv_data;