Mercurial > libavformat.hg
changeset 2340:ab5509871fd2 libavformat
2 FIXME comments
author | michael |
---|---|
date | Thu, 09 Aug 2007 20:54:17 +0000 |
parents | 2c8579bcd287 |
children | d88cab1f155d |
files | nutenc.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/nutenc.c Thu Aug 09 20:52:49 2007 +0000 +++ b/nutenc.c Thu Aug 09 20:54:17 2007 +0000 @@ -184,13 +184,14 @@ #define put_s(bc, v) put_s_trace(bc, v, __FILE__, __PRETTY_FUNCTION__, __LINE__) #endif +//FIXME remove calculate_checksum static void put_packet(NUTContext *nut, ByteIOContext *bc, ByteIOContext *dyn_bc, int calculate_checksum){ uint8_t *dyn_buf=NULL; int dyn_size= url_close_dyn_buf(dyn_bc, &dyn_buf); int forw_ptr= dyn_size + 4*calculate_checksum; if(forw_ptr > 4096) - init_checksum(bc, av_crc04C11DB7_update, 0); + init_checksum(bc, av_crc04C11DB7_update, 0); //FIXME this is supposed to include the start code put_v(bc, forw_ptr); if(forw_ptr > 4096) put_le32(bc, get_checksum(bc));