FFmpeg  4.0
Macros | Functions
pktdumper.c File Reference
#include "config.h"
#include <limits.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "libavutil/avstring.h"
#include "libavutil/time.h"
#include "libavformat/avformat.h"

Go to the source code of this file.

Macros

#define FILENAME_BUF_SIZE   4096
 
#define PKTFILESUFF   "_%08" PRId64 "_%02d_%010" PRId64 "_%06d_%c.bin"
 

Functions

static int usage (int ret)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ FILENAME_BUF_SIZE

#define FILENAME_BUF_SIZE   4096

Definition at line 38 of file pktdumper.c.

Referenced by main().

◆ PKTFILESUFF

#define PKTFILESUFF   "_%08" PRId64 "_%02d_%010" PRId64 "_%06d_%c.bin"

Definition at line 39 of file pktdumper.c.

Referenced by main().

Function Documentation

◆ usage()

static int usage ( int  ret)
static

Definition at line 41 of file pktdumper.c.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 52 of file pktdumper.c.