[FFmpeg-devel] [PATCH 3/3] avcodec/utils: avcodec_string: print colorspace type

Nicolas George nicolas.george at normalesup.org
Tue Aug 27 23:25:00 CEST 2013


Le decadi 10 fructidor, an CCXXI, Michael Niedermayer a écrit :
> +            if (enc->colorspace<9U) {

Maybe define the array in a more global scope and use FF_ARRAY_ELEMS?

> +                static const char *name[] =  {
> +                    "GBR\0",
> +                    "bt709\0",

I may be missing something obvious, but why all the \0?

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130827/7e672af5/attachment.asc>


More information about the ffmpeg-devel mailing list