Commit a47ec310 authored by Diego Biurrun's avatar Diego Biurrun

Remove unused code + variable, fixes a warning.

Originally committed as revision 8794 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent bbe94afb
...@@ -100,7 +100,7 @@ static inline uint64_t get_vb_trace(ByteIOContext *bc, char *file, char *func, i ...@@ -100,7 +100,7 @@ static inline uint64_t get_vb_trace(ByteIOContext *bc, char *file, char *func, i
static int get_packetheader(NUTContext *nut, ByteIOContext *bc, int calculate_checksum) static int get_packetheader(NUTContext *nut, ByteIOContext *bc, int calculate_checksum)
{ {
int64_t start, size; int64_t size;
// start= url_ftell(bc) - 8; // start= url_ftell(bc) - 8;
size= get_v(bc); size= get_v(bc);
...@@ -109,9 +109,6 @@ static int get_packetheader(NUTContext *nut, ByteIOContext *bc, int calculate_ch ...@@ -109,9 +109,6 @@ static int get_packetheader(NUTContext *nut, ByteIOContext *bc, int calculate_ch
init_checksum(bc, calculate_checksum ? av_crc04C11DB7_update : NULL, 0); init_checksum(bc, calculate_checksum ? av_crc04C11DB7_update : NULL, 0);
// nut->packet_start[2] = start;
// nut->written_packet_size= size;
return size; return size;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment