Quoting Gregor Riepl (2021-03-09 18:54:11)
> >      // Change all the ' --' strings to '~--' so that
> >      // they can be identified as tokens.
> >      while ((conflist = strstr(str, " --")) != NULL) {
> > -        strncpy(conflist, "~--", 3);
> > +        conflist[0] = '~';
> >      }
> 
> Doesn't this simply replace -- with ~- ?
> The comment seems wrong to me...

No, it replaces ' --' with '~--', just as the comment says.

-- 
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