X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=cmdutils.h;h=45d98586fa58a568df9c41d3e2bc78cd9b3bbee4;hb=d06dfaa5cbdd20acfd2364b16c0f4ae4ddb30a65;hp=d90ad4549dc2e38eda99304b005e7fe1e6fa25fb;hpb=85698be461c07be10d873dd34348bcfe9ffc56e0;p=ffmpeg diff --git a/cmdutils.h b/cmdutils.h index d90ad4549dc..45d98586fa5 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -460,18 +460,6 @@ int show_sample_fmts(void *optctx, const char *opt, const char *arg); */ int read_yesno(void); -/** - * Read the file with name filename, and put its content in a newly - * allocated 0-terminated buffer. - * - * @param filename file to read from - * @param bufptr location where pointer to buffer is returned - * @param size location where size of buffer is returned - * @return 0 in case of success, a negative value corresponding to an - * AVERROR error code in case of failure. - */ -int cmdutils_read_file(const char *filename, char **bufptr, size_t *size); - typedef struct PtsCorrectionContext { int64_t num_faulty_pts; /// Number of incorrect PTS values so far int64_t num_faulty_dts; /// Number of incorrect DTS values so far