build: rename version.h to libavutil/ffversion.h
authorTimothy Gu <timothygu99@gmail.com>
Fri, 29 Nov 2013 00:29:41 +0000 (16:29 -0800)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 30 Nov 2013 20:42:55 +0000 (21:42 +0100)
commit82b2e9cb1d7e2c24db7d17d0c41bf1cef9a959b3
tree9abe2fac34d224c8f6fe97d0028cb661687ac2c2
parentc5806910918eb9adc3b3a821242cc4bc7647a50f
build: rename version.h to libavutil/ffversion.h

Also the libavutil/ffversion.h will be installed.

Rationale:
* Applications might want to know FFmpeg's version besides the individual
  libraries'.
* Avoids file name clash between FFmpeg's ./version.h and lib*/version.h when
  a library source file includes both and is compiled on an out-of-tree build.

Fixes #1769.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
.gitignore
Makefile
cmdutils.c
doc/APIchanges
ffprobe.c
libavutil/Makefile
libavutil/version.h