On 05/03/2011 02:21 PM, Alex Converse wrote: > memset(compressor_name,0,32); > /* FIXME not sure, ISO 14496-1 draft where it shall be set to 0 */ > if (track->mode == MODE_MOV && track->enc->codec && > track->enc->codec->name) > - strncpy(compressor_name,track->enc->codec->name,31); > + av_strlcpy(compressor_name,track->enc->codec->name,32);
Can't that memset be replaced with compressor_name[0] = '\0' now that the result will be null-terminated? -Justin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
