X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ffmpeg_util.h;fp=ffmpeg_util.h;h=0000000000000000000000000000000000000000;hb=392f9d1ccb835c05a3874c4bea163788b2c37024;hp=c037a15880ccd7acb38c21e32bbd6246d07ae0a2;hpb=330ca2f0052b06d91004c6ceb73cd57ab95e7fe1;p=nageru diff --git a/ffmpeg_util.h b/ffmpeg_util.h deleted file mode 100644 index c037a15..0000000 --- a/ffmpeg_util.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef _FFMPEG_UTIL_H -#define _FFMPEG_UTIL_H 1 - -// Some common utilities for the two FFmpeg users (ImageInput and FFmpegCapture). - -#include - -extern "C" { -#include -} - -// Look for the file in all theme_dirs until we find one; -// that will be the permanent resolution of this file, whether -// it is actually valid or not. Returns an empty string on error. -std::string search_for_file(const std::string &filename); - -// Same, but exits on error. -std::string search_for_file_or_die(const std::string &filename); - -// Returns -1 if not found. -int find_stream_index(AVFormatContext *ctx, AVMediaType media_type); - -#endif // !defined(_FFMPEG_UTIL_H)