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...
 

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