Go to the documentation of this file.
19 #ifndef FFTOOLS_FFMPEG_UTILS_H
20 #define FFTOOLS_FFMPEG_UTILS_H
44 return (err0 < 0) ? err0 :
FFMIN(err1, 0);
57 #endif // FFTOOLS_FFMPEG_UTILS_H
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,...
#define AVERROR_EOF
End of file.
static void frame_move(void *dst, void *src)
static void pkt_move(void *dst, void *src)
Rational number (pair of numerator and denominator).
void av_packet_move_ref(AVPacket *dst, AVPacket *src)
Move every field in src to dst and reset src.
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
void av_frame_move_ref(AVFrame *dst, AVFrame *src)
Move everything contained in src to dst and reset src.