[FFmpeg-devel] [PATCH 1/2] avformat/avisynth: remove unused variable 'frameprop'
Stephen Hutchinson
qyot27 at gmail.com
Wed Feb 23 20:03:49 EET 2022
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 at 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.
More information about the ffmpeg-devel
mailing list