FFmpeg
Loading...
Searching...
No Matches
mpegts_probe.c File Reference
#include <stdio.h>
#include <string.h>
#include "libavutil/mem.h"
#include "libavformat/avformat.h"
#include "libavformat/demux.h"

Go to the source code of this file.

Macros

#define NB_PACKETS   12
 
#define MAX_PREFIX   8
 
#define MAX_STRIDE   204
 

Functions

static void put_packet (uint8_t *p, char type)
 
static void test (const char *name, int prefix_size, int prefix_fill, int stride, const char *packets)
 
int main (void)
 

Variables

const FFInputFormat ff_mpegts_demuxer
 

Macro Definition Documentation

◆ NB_PACKETS

#define NB_PACKETS   12

Definition at line 37 of file mpegts_probe.c.

Referenced by test().

◆ MAX_PREFIX

#define MAX_PREFIX   8

Definition at line 38 of file mpegts_probe.c.

Referenced by test().

◆ MAX_STRIDE

Function Documentation

◆ put_packet()

static void put_packet ( uint8_t * p,
char type )
static

Definition at line 49 of file mpegts_probe.c.

Referenced by test().

◆ test()

static void test ( const char * name,
int prefix_size,
int prefix_fill,
int stride,
const char * packets )
static

Definition at line 67 of file mpegts_probe.c.

Referenced by main().

◆ main()

int main ( void )

Definition at line 90 of file mpegts_probe.c.

Variable Documentation

◆ ff_mpegts_demuxer

const FFInputFormat ff_mpegts_demuxer
extern

Definition at line 294 of file mpegts.c.