FFmpeg
Functions
decode_simple.c File Reference
#include <stdlib.h>
#include <string.h>
#include "decode_simple.h"
#include "libavformat/avformat.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/packet.h"
#include "libavutil/dict.h"
#include "libavutil/error.h"
#include "libavutil/frame.h"

Go to the source code of this file.

Functions

static int decode_read (DecodeContext *dc, int flush)
 
int ds_run (DecodeContext *dc)
 
void ds_free (DecodeContext *dc)
 
int ds_open (DecodeContext *dc, const char *url, int stream_idx)
 

Function Documentation

◆ decode_read()

static int decode_read ( DecodeContext dc,
int  flush 
)
static

Definition at line 35 of file decode_simple.c.

Referenced by ds_run().

◆ ds_run()

int ds_run ( DecodeContext dc)

Definition at line 65 of file decode_simple.c.

Referenced by main().

◆ ds_free()

void ds_free ( DecodeContext dc)

Definition at line 109 of file decode_simple.c.

Referenced by ds_open(), and main().

◆ ds_open()

int ds_open ( DecodeContext dc,
const char *  url,
int  stream_idx 
)

Definition at line 120 of file decode_simple.c.

Referenced by main().