Quoting epira...@gmail.com (2024-09-09 12:48:42)
> 
> 
> On 9 Sep 2024, at 12:10, Anton Khirnov wrote:
> 
> > Quoting Marvin Scholz (2024-09-08 19:43:27)
> >> ---
> >>  fftools/opt_common.c | 12 ++++++------
> >>  1 file changed, 6 insertions(+), 6 deletions(-)
> >>
> >> diff --git a/fftools/opt_common.c b/fftools/opt_common.c
> >> index 9d2d5184a0..059f7a53d2 100644
> >> --- a/fftools/opt_common.c
> >> +++ b/fftools/opt_common.c
> >> @@ -553,15 +553,15 @@ static void show_help_filter(const char *name)
> >>  }
> >>  #endif
> >>
> >> -static void show_help_bsf(const char *name)
> >> +static void show_help_bsf(const char *bsf_name)
> >>  {
> >> -    const AVBitStreamFilter *bsf = av_bsf_get_by_name(name);
> >> +    const AVBitStreamFilter *bsf = av_bsf_get_by_name(bsf_name);
> >>
> >> -    if (!name) {
> >> +    if (!bsf_name) {
> >>          av_log(NULL, AV_LOG_ERROR, "No bitstream filter name 
> >> specified.\n");
> >>          return;
> >>      } else if (!bsf) {
> >> -        av_log(NULL, AV_LOG_ERROR, "Unknown bit stream filter '%s'.\n", 
> >> name);
> >> +        av_log(NULL, AV_LOG_ERROR, "Unknown bit stream filter '%s'.\n", 
> >> bsf_name);
> >
> > What does this fix? I don't see any other instance of 'name' in this
> > function.
> 
> See the GET_CODEC_NAME definition:
> 
>   const char *name = avcodec_descriptor_get(id)->name;

Does not exist in master after 377652da19bd1e5b9d81c22a4fce0a78a62b5853

-- 
Anton Khirnov
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to