[FFmpeg-devel] [PATCH] ffprobe: prefer lower cased section names over upper cased names

Stefano Sabatini stefasab at gmail.com
Tue Oct 11 00:27:19 CEST 2011


On date Sunday 2011-10-09 16:45:12 +0200, Clément Bœsch encoded:
> On Sun, Oct 09, 2011 at 04:34:11PM +0200, Stefano Sabatini wrote:
> [...]
> > +/* lame uppercasing routine, assumes the string is lower case ASCII
> > + * and terminated by 0 */
> > +static inline char *upcase_string(char *dst, size_t dst_size, const char *src)
> > +{
> > +    int i;
> > +    for (i = 0; *src && i < dst_size-1; src++, i++)
> > +        dst[i] = *src-32;
> 
> src[i]?
> 
> looks good otherwise.

Pushed with that change.


More information about the ffmpeg-devel mailing list