[NUT-devel] [nut]: r659 - src/trunk/libnut/muxer.c
ods15
subversion at mplayerhq.hu
Sat Aug 9 16:08:43 CEST 2008
Author: ods15
Date: Sat Aug 9 16:08:42 2008
New Revision: 659
Log:
Fix libnut muxer to at least put dummy values for header_count_minus1 and
main_flags so it creates valid nut files.
Modified:
src/trunk/libnut/muxer.c
Modified: src/trunk/libnut/muxer.c
==============================================================================
--- src/trunk/libnut/muxer.c (original)
+++ src/trunk/libnut/muxer.c Sat Aug 9 16:08:42 2008
@@ -181,6 +181,8 @@ static void put_main_header(nut_context_
if (fields > 4) put_v(tmp, 0); // reserved
if (fields > 5) put_v(tmp, count);
}
+ put_v(tmp, 0); // header_count_minus1
+ put_v(tmp, 0); // main_flags
put_header(nut->o, tmp, nut->tmp_buffer2, MAIN_STARTCODE, 0);
}
More information about the NUT-devel
mailing list