diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-02 00:24:26 +0100 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-11-04 10:47:52 +0100 |
commit | 4e6fa5be3ce5a66e9420377dceedffb6cadfdad4 (patch) | |
tree | 3cceeb0a9d13021a54ccbebb5ac8ad00e8e84f07 /cmdutils.c | |
parent | 50d3a1a962d5ea6a2d4cb7a82bb13cf0e00c649e (diff) | |
download | ffmpeg-4e6fa5be3ce5a66e9420377dceedffb6cadfdad4.tar.gz |
Revert "cmdutils: allow specifying the file for -report"
This reverts commit 841bf0ef240f0d862b1f07076e079829456fb117.
This does not fully work as the file is used before the filename is parsed
so not all information is written in the specified file.
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/cmdutils.c b/cmdutils.c index 248462fd80..f696700142 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -528,17 +528,6 @@ int opt_loglevel(void *optctx, const char *opt, const char *arg) return 0; } -int opt_report_file(void *optctx, const char *opt, const char *arg) -{ - report_file = fopen(arg, "w"); - if (!report_file) { - av_log(NULL, AV_LOG_ERROR, "Failed to open report \"%s\": %s\n", - arg, strerror(errno)); - return AVERROR(errno); - } - return 0; -} - int opt_report(const char *opt) { char filename[64]; |