FFmpeg
Data Structures | Functions
decode_simple.h File Reference
#include "libavformat/avformat.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/packet.h"
#include "libavutil/dict.h"
#include "libavutil/frame.h"

Go to the source code of this file.

Data Structures

struct  DecodeContext
 

Functions

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

Function Documentation

◆ 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().

◆ ds_free()

void ds_free ( DecodeContext dc)

Definition at line 109 of file decode_simple.c.

Referenced by ds_open(), and main().

◆ ds_run()

int ds_run ( DecodeContext dc)

Definition at line 65 of file decode_simple.c.

Referenced by main().