timecode: string representation can be negative.

Timecode can be specified with a negative value in MOV...
This commit is contained in:
Clément Bœsch
2012-01-04 17:06:39 +01:00
committed by Clément Bœsch
parent 98aafc5bbf
commit f1db99166b
2 changed files with 8 additions and 2 deletions

View File

@@ -67,6 +67,7 @@ uint32_t avpriv_framenum_to_smpte_timecode(unsigned frame, int fps, int drop);
* @param tc Timecode struct pointer
* @param frame Frame id (timecode frame is computed with tc->start+frame)
* @return a pointer to the buf parameter
* @note timecode representation can be a negative timecode
* @note buf must have enough space to store the timecode representation: 16
* bytes is the minimum required size.
*/