[FFmpeg-devel] [PATCH] avfilter: remove useless cast
Michael Niedermayer
michael at niedermayer.cc
Tue Oct 29 15:13:56 EET 2019
On Mon, Oct 28, 2019 at 11:18:04AM +0800, mypopy at gmail.com wrote:
> On Mon, Oct 28, 2019 at 12:03 AM Zhao Zhili <quinkblack at foxmail.com> wrote:
> >
> > ---
> > libavfilter/allfilters.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/libavfilter/allfilters.c b/libavfilter/allfilters.c
> > index d136734338..6156066028 100644
> > --- a/libavfilter/allfilters.c
> > +++ b/libavfilter/allfilters.c
> > @@ -503,7 +503,7 @@ const AVFilter *avfilter_get_by_name(const char *name)
> >
> > while ((f = av_filter_iterate(&opaque)))
> > if (!strcmp(f->name, name))
> > - return (AVFilter *)f;
> > + return f;
> >
> > return NULL;
> > }
> > --
> > 2.21.0
> LGTM
will apply
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191029/630e2c8a/attachment.sig>
More information about the ffmpeg-devel
mailing list