diff options
author | Timothy Gu <timothygu99@gmail.com> | 2016-01-29 05:00:33 +0300 |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2016-01-29 06:49:48 +0300 |
commit | 44304ae3220f553d0b1458644e2a617ea1ad8d22 (patch) | |
tree | 90f08e24290d98cce881b05fce33fa9bcecbcea4 /libavcodec/dvaudio.h | |
parent | 6bc610b39efed743a8616104ce59c860f20487ef (diff) |
all: Add missing header guards
Diffstat (limited to 'libavcodec/dvaudio.h')
-rw-r--r-- | libavcodec/dvaudio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/dvaudio.h b/libavcodec/dvaudio.h index e4d0df1a3a..577183cd0d 100644 --- a/libavcodec/dvaudio.h +++ b/libavcodec/dvaudio.h @@ -16,6 +16,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef AVCODEC_DVAUDIO_H +#define AVCODEC_DVAUDIO_H + static inline int dv_get_audio_sample_count(const uint8_t *buffer, int dsf) { int samples = buffer[0] & 0x3f; /* samples in this frame - min samples */ @@ -30,3 +33,5 @@ static inline int dv_get_audio_sample_count(const uint8_t *buffer, int dsf) return samples + (dsf ? 1264 : 1053); } } + +#endif /* AVCODEC_DVAUDIO_H */ |