Gabriel TESSIER <[EMAIL PROTECTED]> writes:

> Here the comment about it : |"Copy the string str to buf. If str length 
> is bigger than buf_size - 1 then it is clamped to buf_size - 1. NOTE: 
> this function does what strncpy should have done to be useful. NEVER use 
> strncpy."
> Is there something similar or can i use strcpy instead?

There are several string manipulation functions in libavutil/avstring.h
Probably you want av_strlcpy.

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to