mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
put_t()
Originally committed as revision 10031 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6e6cf116d8
commit
491216c672
@ -154,6 +154,12 @@ static void put_v(ByteIOContext *bc, uint64_t val){
|
||||
put_byte(bc, val&127);
|
||||
}
|
||||
|
||||
static void put_t(NUTContext *nut, StreamContext *nus, ByteIOContext *bc, uint64_t val){
|
||||
val *= nut->time_base_count;
|
||||
val += nus->time_base - nut->time_base;
|
||||
put_v(bc, val);
|
||||
}
|
||||
|
||||
/**
|
||||
* stores a string as vb.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user