X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=cmdutils.h;h=55134ff27ba06c5f43b48432abd02f666de35f40;hb=b97e3e11a9c23e45ac3b2c1a7771d55f8fc1caee;hp=a21ce35fa8556aceffa4cf7e91ee0caf9495afa4;hpb=694f9ab1ef141cf80de8f81db6955a17606182af;p=ffmpeg diff --git a/cmdutils.h b/cmdutils.h index a21ce35fa85..55134ff27ba 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -529,18 +529,6 @@ int show_colors(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); - /** * Get a file corresponding to a preset file. *