summaryrefslogtreecommitdiff
path: root/libavformat/nutenc.c
diff options
context:
space:
mode:
authorOded Shimon <ods15@ods15.dyndns.org>2008-02-04 10:45:32 +0000
committerOded Shimon <ods15@ods15.dyndns.org>2008-02-04 10:45:32 +0000
commit02c986a8d66e29ab52d1489273ef4d6f8fd4aac0 (patch)
treefb674191e1daff01d50b1259def65cecb114293f /libavformat/nutenc.c
parent82badd27f165e9002b97402a71c0aa5d6e248d3e (diff)
Fix intented algo in syncpoint writing before keyframes in NUT muxer
Originally committed as revision 11855 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nutenc.c')
-rw-r--r--libavformat/nutenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index a8a431fc22..51c7633ae7 100644
--- a/libavformat/nutenc.c
+++ b/libavformat/nutenc.c
@@ -462,7 +462,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt){
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)