FFmpeg
Data Structures | Functions
ffmpeg_utils.h File Reference
#include <stdint.h>
#include "libavutil/common.h"
#include "libavutil/frame.h"
#include "libavutil/rational.h"
#include "libavcodec/packet.h"

Go to the source code of this file.

Data Structures

struct  Timestamp
 

Functions

static int err_merge (int err0, int err1)
 Merge two return codes - return one of the error codes if at least one of them was negative, 0 otherwise. More...
 
static void pkt_move (void *dst, void *src)
 
static void frame_move (void *dst, void *src)
 

Function Documentation

◆ err_merge()

static int err_merge ( int  err0,
int  err1 
)
inlinestatic

Merge two return codes - return one of the error codes if at least one of them was negative, 0 otherwise.

Definition at line 39 of file ffmpeg_utils.h.

Referenced by check_written(), dec_done(), demux_done(), enc_done(), filter_done(), ifile_open(), input_thread(), of_write_trailer(), sch_stop(), send_to_enc_sq(), task_wrapper(), and transcode().

◆ pkt_move()

static void pkt_move ( void *  dst,
void *  src 
)
inlinestatic

Definition at line 47 of file ffmpeg_utils.h.

Referenced by queue_alloc().

◆ frame_move()

static void frame_move ( void *  dst,
void *  src 
)
inlinestatic

Definition at line 52 of file ffmpeg_utils.h.

Referenced by queue_alloc().