diff options
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/avformat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 03df76af92..f12fa7d904 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -320,6 +320,12 @@ #include "avio.h" #include "libavformat/version_major.h" +#ifndef HAVE_AV_CONFIG_H +/* When included as part of the ffmpeg build, only include the major version + * to avoid unnecessary rebuilds. When included externally, keep including + * the full version information. */ +#include "libavformat/version.h" +#endif struct AVFormatContext; struct AVStream; |