]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h264_cavlc.c
Simplify RGB32 png encoding.
[ffmpeg] / libavcodec / h264_cavlc.c
index b0dc999132cf94da8157b4d12b43945bba820511..f9daeb29d9ff1d22bf8f4c2922d4d2aa2985203f 100644 (file)
@@ -26,6 +26,7 @@
  */
 
 #define CABAC 0
+#define UNCHECKED_BITSTREAM_READER 1
 
 #include "internal.h"
 #include "avcodec.h"
@@ -281,7 +282,7 @@ static int8_t cavlc_level_tab[7][1<<LEVEL_TAB_BITS][2];
 #define RUN7_VLC_BITS                  6
 
 /**
- * gets the predicted number of non-zero coefficients.
+ * Get the predicted number of non-zero coefficients.
  * @param n block index
  */
 static inline int pred_non_zero_count(H264Context *h, int n){
@@ -436,7 +437,7 @@ static inline int get_level_prefix(GetBitContext *gb){
 }
 
 /**
- * decodes a residual block.
+ * Decode a residual block.
  * @param n block index
  * @param scantable scantable
  * @param max_coeff number of coefficients in the block