lance.lmw...@gmail.com (12020-06-19):
> No, in fact I reuse the code from av_timecode_init_from_string(), any 
> suggestion with safety?

For starters: DO NOT REUSE CODE.

Use it. Call av_timecode_init_from_string().

To test the garbage at the end of the string: ask scanf() where scanning
stopped, check it is the end of the string.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: PGP signature

_______________________________________________
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