]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/rangecoder.h
Fix big-endian vs. little-endian typo.
[ffmpeg] / libavcodec / rangecoder.h
index 7844058ba09d471655b41384d056af3ca91899ce..7d23b252d01afd761dcf5a772898bf39c9f6916f 100644 (file)
@@ -17,7 +17,6 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with FFmpeg; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
  */
 
 /**
  * Range coder.
  */
 
+#ifndef FFMPEG_RANGECODER_H
+#define FFMPEG_RANGECODER_H
+
+#include <stdint.h>
+#include <assert.h>
+#include "libavutil/common.h"
+
 typedef struct RangeCoder{
     int low;
     int range;
@@ -132,3 +138,4 @@ static inline int get_rac(RangeCoder *c, uint8_t * const state){
 #endif
 }
 
+#endif /* FFMPEG_RANGECODER_H */