diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-19 22:10:57 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-26 22:15:16 +0200 |
commit | d1ee2cf74ad1e26462e224e84f80858b158e3951 (patch) | |
tree | 402415b14df3fc7cbe0ddf07fe218b260a3e0f13 /libavformat/nut.c | |
parent | 8f9941b1608ccdfc24394ee0d5b01c5f7618a134 (diff) | |
download | ffmpeg-d1ee2cf74ad1e26462e224e84f80858b158e3951.tar.gz |
nutenc: keep track of the written syncpoint count
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/nut.c')
-rw-r--r-- | libavformat/nut.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/nut.c b/libavformat/nut.c index a266d5279e..30c0eb6179 100644 --- a/libavformat/nut.c +++ b/libavformat/nut.c @@ -141,6 +141,8 @@ void ff_nut_add_sp(NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts){ Syncpoint *sp= av_mallocz(sizeof(Syncpoint)); struct AVTreeNode *node= av_mallocz(av_tree_node_size); + nut->sp_count++; + sp->pos= pos; sp->back_ptr= back_ptr; sp->ts= ts; |