diff mbox series

[FFmpeg-devel,1/2] avformat/avisynth: remove unused variable 'frameprop'

Message ID 20220219214153.2719-1-qyot27@gmail.com
State Accepted
Commit 5df71a5e8d2d3511a8eb35800d037d75696c1f4d
Headers show
Series [FFmpeg-devel,1/2] avformat/avisynth: remove unused variable 'frameprop' | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished

Commit Message

Stephen Hutchinson Feb. 19, 2022, 9:41 p.m. UTC
Since the check got simplified and stdbool was no longer necessary
to include, neither is that variable.  Silences a warning.

Signed-off-by: Stephen Hutchinson <qyot27@gmail.com>
---
 libavformat/avisynth.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Stephen Hutchinson Feb. 23, 2022, 6:03 p.m. UTC | #1
On 2/19/22 4:41 PM, Stephen Hutchinson wrote:
> Since the check got simplified and stdbool was no longer necessary
> to include, neither is that variable.  Silences a warning.
> 
> Signed-off-by: Stephen Hutchinson <qyot27@gmail.com>
> ---
>   libavformat/avisynth.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c
> index 2bd0c6949b..03489f180f 100644
> --- a/libavformat/avisynth.c
> +++ b/libavformat/avisynth.c
> @@ -245,7 +245,6 @@ static int avisynth_create_stream_video(AVFormatContext *s, AVStream *st)
>       const AVS_Map *avsmap;
>       AVS_VideoFrame *frame;
>       int framedata, error;
> -    bool frameprop;
>       int planar = 0; // 0: packed, 1: YUV, 2: Y8, 3: Planar RGB, 4: YUVA, 5: Planar RGBA
>   
>       st->codecpar->codec_type = AVMEDIA_TYPE_VIDEO;

Pushed.
diff mbox series

Patch

diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c
index 2bd0c6949b..03489f180f 100644
--- a/libavformat/avisynth.c
+++ b/libavformat/avisynth.c
@@ -245,7 +245,6 @@  static int avisynth_create_stream_video(AVFormatContext *s, AVStream *st)
     const AVS_Map *avsmap;
     AVS_VideoFrame *frame;
     int framedata, error;
-    bool frameprop;
     int planar = 0; // 0: packed, 1: YUV, 2: Y8, 3: Planar RGB, 4: YUVA, 5: Planar RGBA
 
     st->codecpar->codec_type = AVMEDIA_TYPE_VIDEO;