28 Jan
2012
28 Jan
'12
9:49 a.m.
On 27 Jan 2012, at 13:35, Stefano Sabatini <stefasab@gmail.com> wrote:
* av_ts2str(), av_ts2time2str() are retained for their usefulness, although they should never be used in C++, we assume that C++ programmers using FFmpeg code have a clue regarding C/C++ incompatibilites, and they can still use the long av_ts_make* functions
The bigger risk is C programmers not understanding their limitations, leading to random crashes or randomly corrupted data. It might be advisable to recommend to use them only directly in function arguments but never stand-alone, which avoids the issue.