comparison nutdec.c @ 2035:43de2eae6c69 libavformat

Remove unused code + variable, fixes a warning.
author diego
date Tue, 24 Apr 2007 05:50:30 +0000
parents fb04036147f8
children 3804e39efbfd
comparison
equal deleted inserted replaced
2034:355147fa5c72 2035:43de2eae6c69
98 #define get_vb(bc) get_vb_trace(bc, __FILE__, __PRETTY_FUNCTION__, __LINE__) 98 #define get_vb(bc) get_vb_trace(bc, __FILE__, __PRETTY_FUNCTION__, __LINE__)
99 #endif 99 #endif
100 100
101 static int get_packetheader(NUTContext *nut, ByteIOContext *bc, int calculate_checksum) 101 static int get_packetheader(NUTContext *nut, ByteIOContext *bc, int calculate_checksum)
102 { 102 {
103 int64_t start, size; 103 int64_t size;
104 // start= url_ftell(bc) - 8; 104 // start= url_ftell(bc) - 8;
105 105
106 size= get_v(bc); 106 size= get_v(bc);
107 if(size > 4096) 107 if(size > 4096)
108 get_be32(bc); //FIXME check this 108 get_be32(bc); //FIXME check this
109 109
110 init_checksum(bc, calculate_checksum ? av_crc04C11DB7_update : NULL, 0); 110 init_checksum(bc, calculate_checksum ? av_crc04C11DB7_update : NULL, 0);
111
112 // nut->packet_start[2] = start;
113 // nut->written_packet_size= size;
114 111
115 return size; 112 return size;
116 } 113 }
117 114
118 static uint64_t find_any_startcode(ByteIOContext *bc, int64_t pos){ 115 static uint64_t find_any_startcode(ByteIOContext *bc, int64_t pos){