diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-01-05 10:51:28 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-01-06 10:43:34 +0100 |
commit | c5f4abf698f6a52db2eb7a27c7560fc0f8a33b5f (patch) | |
tree | 7b8da3964a0baaf9d983fedc95307a893f26f8a9 /ffprobe.c | |
parent | 49c207b8205bf018bd3afff9b26222178f111bbc (diff) | |
download | ffmpeg-c5f4abf698f6a52db2eb7a27c7560fc0f8a33b5f.tar.gz |
ffprobe: exit in case generic options are incompatible with strict XML output
Diffstat (limited to 'ffprobe.c')
-rw-r--r-- | ffprobe.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -926,6 +926,7 @@ static av_cold int xml_init(WriterContext *wctx, const char *args, void *opaque) av_log(wctx, AV_LOG_ERROR, \ "XSD-compliant output selected but option '%s' was selected, XML output may be non-compliant.\n" \ "You need to disable such option with '-no%s'\n", opt_name, opt_name); \ + return AVERROR(EINVAL); \ } CHECK_COMPLIANCE(show_private_data, "private"); CHECK_COMPLIANCE(show_value_unit, "unit"); |