[FFmpeg-cvslog] lavc/g723: protect header.

Clément Bœsch git at videolan.org
Fri May 18 23:44:49 CEST 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Wed May  9 08:31:54 2012 +0200| [02908a4bd0c1aa4c6cd4f816b1f74315f7b0206c] | committer: Clément Bœsch

lavc/g723: protect header.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=02908a4bd0c1aa4c6cd4f816b1f74315f7b0206c
---

 libavcodec/g723_1_data.h |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libavcodec/g723_1_data.h b/libavcodec/g723_1_data.h
index bd1abe9..24d154f 100644
--- a/libavcodec/g723_1_data.h
+++ b/libavcodec/g723_1_data.h
@@ -25,6 +25,9 @@
  * G723.1 compatible decoder data tables
  */
 
+#ifndef AVCODEC_G729_DATA_H
+#define AVCODEC_G729_DATA_H
+
 #define SUBFRAMES       4
 #define SUBFRAME_LEN    60
 #define FRAME_LEN       (SUBFRAME_LEN << 2)
@@ -1313,3 +1316,5 @@ static const int16_t percept_flt_tbl[2][LPC_ORDER] = {
     /* Pole part */
     {16384,  8192,  4096,  2048,  1024,   512,   256,   128,    64,    32}
 };
+
+#endif /* AVCODEC_G729_DATA_H */



More information about the ffmpeg-cvslog mailing list