Revision 421c2dc2 out-stream-dummy.c

View differences:

out-stream-dummy.c
4 4

  
5 5
#include "out-stream.h"
6 6
#include "dbg.h"
7
#include "payload.h"
7 8

  
8 9
static int outfd = 1;
9 10

  
10
#define FRAME_HEADER_SIZE (3 + 4 + 1)
11

  
12 11
void chunk_write(int id, const uint8_t *data, int size)
13 12
{
14 13
  const int header_size = 1 + 2 + 2 + 2 + 2 + 1; // 1 Frame type + 2 width + 2 height + 2 frame rate num + 2 frame rate den + 1 number of frames

Also available in: Unified diff