summaryrefslogtreecommitdiff
path: root/libavformat/nutdec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-04-24 05:50:30 +0000
committerDiego Biurrun <diego@biurrun.de>2007-04-24 05:50:30 +0000
commita47ec310f23c3a360e1ab77097bcab84cb6d21b4 (patch)
tree1048b829853bb47e4fcf4ba26439979a7d553fc0 /libavformat/nutdec.c
parentbbe94afb7a397952e1d108727892ba42330c56d2 (diff)
Remove unused code + variable, fixes a warning.
Originally committed as revision 8794 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nutdec.c')
-rw-r--r--libavformat/nutdec.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index 40bf9e2c7a..8688f19717 100644
--- a/libavformat/nutdec.c
+++ b/libavformat/nutdec.c
@@ -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)
{
- int64_t start, size;
+ int64_t size;
// start= url_ftell(bc) - 8;
size= get_v(bc);
@@ -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);
-// nut->packet_start[2] = start;
-// nut->written_packet_size= size;
-
return size;
}