diff options
author | Reinhard Tartler <siretart@tauware.de> | 2012-07-01 19:38:40 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2012-07-03 17:26:51 +0200 |
commit | 22662ca56086ddb7240dc84a68ad89c785682f36 (patch) | |
tree | d7d942fd414e67a575d43d2e7bf64fe6786312ef /cmdutils.h | |
parent | a1641e954091760a759e6281ccc360d3817f9397 (diff) | |
download | ffmpeg-22662ca56086ddb7240dc84a68ad89c785682f36.tar.gz |
attributes: add av_noreturn
Also use it in the declaration of the various exit_program
implementations in avtools.
inspired by a clang-scan report.
Diffstat (limited to 'cmdutils.h')
-rw-r--r-- | cmdutils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils.h b/cmdutils.h index 793a1e83c4..ca4f4c1e8c 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -373,7 +373,7 @@ FILE *get_preset_file(char *filename, size_t filename_size, * Do all the necessary cleanup and abort. * This function is implemented in the avtools, not cmdutils. */ -void exit_program(int ret); +av_noreturn void exit_program(int ret); /** * Realloc array to hold new_size elements of elem_size. |