Revision bd209760 chunk_pusher.c

View differences:

chunk_pusher.c
4 4
#include "external_chunk_transcoding.h"
5 5
#include "chunker_streamer.h"
6 6

  
7
#define DEBUG_PUSHER
7
//#define DEBUG_PUSHER
8 8

  
9 9

  
10 10
int pushChunkHttp(ExternalChunk *echunk, char *url);
......
20 20
	int tus3e1 = 0.0;
21 21
	int ret = STREAMER_FAIL_RETURN;
22 22
	
23
	attr_size = 5*sizeof(int) + 2*sizeof(time_t) + 2*sizeof(suseconds_t) + 1*sizeof(double);
23
	attr_size = 5*sizeof(int32_t) + 2*sizeof(time_t) + 2*sizeof(suseconds_t) + 1*sizeof(double);
24 24

  
25 25
	/* first pack the chunk info that we get from the streamer into an "attributes" block of a regular GRAPES chunk */
26 26
	if(	(grapes_chunk_attributes_block = packExternalChunkToAttributes(echunk, attr_size)) != NULL ) {

Also available in: Unified diff