Mercurial > libavformat.hg
changeset 3015:db8d14740060 libavformat
Fix intented algo in syncpoint writing before keyframes in NUT muxer
author | ods15 |
---|---|
date | Mon, 04 Feb 2008 10:45:32 +0000 |
parents | 66fb9d4dea91 |
children | eac2648449a5 |
files | nutenc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/nutenc.c Mon Feb 04 10:34:35 2008 +0000 +++ b/nutenc.c Mon Feb 04 10:45:32 2008 +0000 @@ -462,7 +462,7 @@ if(1LL<<(20+3*nut->header_count) <= url_ftell(bc)) write_headers(nut, bc); - if(key_frame && !!(nus->last_flags & FLAG_KEY)) + if(key_frame && !(nus->last_flags & FLAG_KEY)) store_sp= 1; if(pkt->size + 30/*FIXME check*/ + url_ftell(bc) >= nut->last_syncpoint_pos + nut->max_distance)