libavcodec/h264_parser.c:224: error: Null Dereference
  pointer `h->gb.buffer` last assigned on line 221 could be null and is dereferenced by call to `ff_h264_decode_seq_parameter_set()` at line 224, column 13.

libavcodec/h264_parser.c:171:1: start of procedure parse_nal_units()
169.  * @param buf_size size of the buffer.
170.  */
171. static inline int parse_nal_units(AVCodecParserContext *s,
     ^
172.                                   AVCodecContext *avctx,
173.                                   const uint8_t *buf, int buf_size)

libavcodec/h264_parser.c:175:5: 
173.                                   const uint8_t *buf, int buf_size)
174. {
175.     H264Context *h         = s->priv_data;
         ^
176.     const uint8_t *buf_end = buf + buf_size;
177.     unsigned int pps_id;

libavcodec/h264_parser.c:176:5: 
174. {
175.     H264Context *h         = s->priv_data;
176.     const uint8_t *buf_end = buf + buf_size;
         ^
177.     unsigned int pps_id;
178.     unsigned int slice_type;

libavcodec/h264_parser.c:179:5: 
177.     unsigned int pps_id;
178.     unsigned int slice_type;
179.     int state = -1, got_reset = 0;
         ^
180.     const uint8_t *ptr;
181.     int field_poc[2];

libavcodec/h264_parser.c:184:5: 
182. 
183.     /* set some sane default values */
184.     s->pict_type         = AV_PICTURE_TYPE_I;
         ^
185.     s->key_frame         = 0;
186.     s->picture_structure = AV_PICTURE_STRUCTURE_UNKNOWN;

libavcodec/h264_parser.c:185:5: 
183.     /* set some sane default values */
184.     s->pict_type         = AV_PICTURE_TYPE_I;
185.     s->key_frame         = 0;
         ^
186.     s->picture_structure = AV_PICTURE_STRUCTURE_UNKNOWN;
187. 

libavcodec/h264_parser.c:186:5: 
184.     s->pict_type         = AV_PICTURE_TYPE_I;
185.     s->key_frame         = 0;
186.     s->picture_structure = AV_PICTURE_STRUCTURE_UNKNOWN;
         ^
187. 
188.     h->avctx = avctx;

libavcodec/h264_parser.c:188:5: 
186.     s->picture_structure = AV_PICTURE_STRUCTURE_UNKNOWN;
187. 
188.     h->avctx = avctx;
         ^
189.     ff_h264_reset_sei(h);
190. 

libavcodec/h264_parser.c:189:5: 
187. 
188.     h->avctx = avctx;
189.     ff_h264_reset_sei(h);
         ^
190. 
191.     if (!buf_size)

libavcodec/h264_sei.c:37:1: start of procedure ff_h264_reset_sei()
  35. };
  36. 
  37. void ff_h264_reset_sei(H264Context *h)
      ^
  38. {
  39.     h->sei_recovery_frame_cnt       = -1;

libavcodec/h264_sei.c:39:5: 
  37. void ff_h264_reset_sei(H264Context *h)
  38. {
  39.     h->sei_recovery_frame_cnt       = -1;
          ^
  40.     h->sei_dpb_output_delay         =  0;
  41.     h->sei_cpb_removal_delay        = -1;

libavcodec/h264_sei.c:40:5: 
  38. {
  39.     h->sei_recovery_frame_cnt       = -1;
  40.     h->sei_dpb_output_delay         =  0;
          ^
  41.     h->sei_cpb_removal_delay        = -1;
  42.     h->sei_buffering_period_present =  0;

libavcodec/h264_sei.c:41:5: 
  39.     h->sei_recovery_frame_cnt       = -1;
  40.     h->sei_dpb_output_delay         =  0;
  41.     h->sei_cpb_removal_delay        = -1;
          ^
  42.     h->sei_buffering_period_present =  0;
  43.     h->sei_frame_packing_present    =  0;

libavcodec/h264_sei.c:42:5: 
  40.     h->sei_dpb_output_delay         =  0;
  41.     h->sei_cpb_removal_delay        = -1;
  42.     h->sei_buffering_period_present =  0;
          ^
  43.     h->sei_frame_packing_present    =  0;
  44.     h->sei_display_orientation_present = 0;

libavcodec/h264_sei.c:43:5: 
  41.     h->sei_cpb_removal_delay        = -1;
  42.     h->sei_buffering_period_present =  0;
  43.     h->sei_frame_packing_present    =  0;
          ^
  44.     h->sei_display_orientation_present = 0;
  45. }

libavcodec/h264_sei.c:44:5: 
  42.     h->sei_buffering_period_present =  0;
  43.     h->sei_frame_packing_present    =  0;
  44.     h->sei_display_orientation_present = 0;
          ^
  45. }
  46. 

libavcodec/h264_sei.c:45:1: return from a call to ff_h264_reset_sei
  43.     h->sei_frame_packing_present    =  0;
  44.     h->sei_display_orientation_present = 0;
  45. }
      ^
  46. 
  47. static int decode_picture_timing(H264Context *h)

libavcodec/h264_parser.c:191:10: Taking false branch
189.     ff_h264_reset_sei(h);
190. 
191.     if (!buf_size)
              ^
192.         return 0;
193. 

libavcodec/h264_parser.c:393:5: Loop condition is true. Entering loop body
391.         }
392.         buf += consumed;
393.     }
         ^
394.     /* didn't find a picture! */
395.     av_log(h->avctx, AV_LOG_ERROR, "missing picture in access unit\n");

libavcodec/h264_parser.c:196:9: Skipping avpriv_find_start_code(): empty list of specs
194.     for (;;) {
195.         int src_length, dst_length, consumed;
196.         buf = avpriv_find_start_code(buf, buf_end, &state);
             ^
197.         if (buf >= buf_end)
198.             break;

libavcodec/h264_parser.c:197:13: Taking false branch
195.         int src_length, dst_length, consumed;
196.         buf = avpriv_find_start_code(buf, buf_end, &state);
197.         if (buf >= buf_end)
                 ^
198.             break;
199.         --buf;

libavcodec/h264_parser.c:199:9: 
197.         if (buf >= buf_end)
198.             break;
199.         --buf;
             ^
200.         src_length = buf_end - buf;
201.         switch (state & 0x1f) {

libavcodec/h264_parser.c:200:9: 
198.             break;
199.         --buf;
200.         src_length = buf_end - buf;
             ^
201.         switch (state & 0x1f) {
202.         case NAL_SLICE:

libavcodec/h264_parser.c:201:9: 
199.         --buf;
200.         src_length = buf_end - buf;
201.         switch (state & 0x1f) {
             ^
202.         case NAL_SLICE:
203.         case NAL_IDR_SLICE:

libavcodec/h264_parser.c:202:9: Switch condition is true. Entering switch case
200.         src_length = buf_end - buf;
201.         switch (state & 0x1f) {
202.         case NAL_SLICE:
             ^
203.         case NAL_IDR_SLICE:
204.             // Do not walk the whole buffer just to decode slice header

libavcodec/h264_parser.c:205:17: Taking false branch
203.         case NAL_IDR_SLICE:
204.             // Do not walk the whole buffer just to decode slice header
205.             if ((state & 0x1f) == NAL_IDR_SLICE || ((state >> 5) & 0x3) == 0) {
                     ^
206.                 /* IDR or disposable slice
207.                  * No need to decode many bytes because MMCOs shall not be present. */

libavcodec/h264_parser.c:205:52: Taking false branch
203.         case NAL_IDR_SLICE:
204.             // Do not walk the whole buffer just to decode slice header
205.             if ((state & 0x1f) == NAL_IDR_SLICE || ((state >> 5) & 0x3) == 0) {
                                                        ^
206.                 /* IDR or disposable slice
207.                  * No need to decode many bytes because MMCOs shall not be present. */

libavcodec/h264_parser.c:212:21: Taking false branch
210.             } else {
211.                 /* To decode up to MMCOs */
212.                 if (src_length > 1000)
                         ^
213.                     src_length = 1000;
214.             }

libavcodec/h264_parser.c:217:9: Skipping ff_h264_decode_nal(): empty list of specs
215.             break;
216.         }
217.         ptr = ff_h264_decode_nal(h, buf, &dst_length, &consumed, src_length);
             ^
218.         if (ptr == NULL || dst_length < 0)
219.             break;

libavcodec/h264_parser.c:218:13: Taking false branch
216.         }
217.         ptr = ff_h264_decode_nal(h, buf, &dst_length, &consumed, src_length);
218.         if (ptr == NULL || dst_length < 0)
                 ^
219.             break;
220. 

libavcodec/h264_parser.c:218:28: Taking false branch
216.         }
217.         ptr = ff_h264_decode_nal(h, buf, &dst_length, &consumed, src_length);
218.         if (ptr == NULL || dst_length < 0)
                                ^
219.             break;
220. 

libavcodec/h264_parser.c:221:9: 
219.             break;
220. 
221.         init_get_bits(&h->gb, ptr, 8 * dst_length);
             ^
222.         switch (h->nal_unit_type) {
223.         case NAL_SPS:

libavcodec/get_bits.h:375:1: start of procedure init_get_bits()
  373.  * @return 0 on success, AVERROR_INVALIDDATA if the buffer_size would overflow.
  374.  */
  375. static inline int init_get_bits(GetBitContext *s, const uint8_t *buffer,
       ^
  376.                                 int bit_size)
  377. {

libavcodec/get_bits.h:379:5: 
  377. {
  378.     int buffer_size;
  379.     int ret = 0;
           ^
  380. 
  381.     if (bit_size > INT_MAX - 7 || bit_size < 0 || !buffer) {

libavcodec/get_bits.h:381:9: Taking true branch
  379.     int ret = 0;
  380. 
  381.     if (bit_size > INT_MAX - 7 || bit_size < 0 || !buffer) {
               ^
  382.         buffer_size = bit_size = 0;
  383.         buffer      = NULL;

libavcodec/get_bits.h:382:9: 
  380. 
  381.     if (bit_size > INT_MAX - 7 || bit_size < 0 || !buffer) {
  382.         buffer_size = bit_size = 0;
               ^
  383.         buffer      = NULL;
  384.         ret         = AVERROR_INVALIDDATA;

libavcodec/get_bits.h:383:9: 
  381.     if (bit_size > INT_MAX - 7 || bit_size < 0 || !buffer) {
  382.         buffer_size = bit_size = 0;
  383.         buffer      = NULL;
               ^
  384.         ret         = AVERROR_INVALIDDATA;
  385.     }

libavcodec/get_bits.h:384:9: 
  382.         buffer_size = bit_size = 0;
  383.         buffer      = NULL;
  384.         ret         = AVERROR_INVALIDDATA;
               ^
  385.     }
  386. 

libavcodec/get_bits.h:387:5: 
  385.     }
  386. 
  387.     buffer_size = (bit_size + 7) >> 3;
           ^
  388. 
  389.     s->buffer             = buffer;

libavcodec/get_bits.h:389:5: 
  387.     buffer_size = (bit_size + 7) >> 3;
  388. 
  389.     s->buffer             = buffer;
           ^
  390.     s->size_in_bits       = bit_size;
  391. #if !UNCHECKED_BITSTREAM_READER

libavcodec/get_bits.h:390:5: 
  388. 
  389.     s->buffer             = buffer;
  390.     s->size_in_bits       = bit_size;
           ^
  391. #if !UNCHECKED_BITSTREAM_READER
  392.     s->size_in_bits_plus8 = bit_size + 8;

libavcodec/get_bits.h:392:5: 
  390.     s->size_in_bits       = bit_size;
  391. #if !UNCHECKED_BITSTREAM_READER
  392.     s->size_in_bits_plus8 = bit_size + 8;
           ^
  393. #endif
  394.     s->buffer_end         = buffer + buffer_size;

libavcodec/get_bits.h:394:5: 
  392.     s->size_in_bits_plus8 = bit_size + 8;
  393. #endif
  394.     s->buffer_end         = buffer + buffer_size;
           ^
  395.     s->index              = 0;
  396. 

libavcodec/get_bits.h:395:5: 
  393. #endif
  394.     s->buffer_end         = buffer + buffer_size;
  395.     s->index              = 0;
           ^
  396. 
  397.     return ret;

libavcodec/get_bits.h:397:5: 
  395.     s->index              = 0;
  396. 
  397.     return ret;
           ^
  398. }
  399. 

libavcodec/get_bits.h:398:1: return from a call to init_get_bits
  396. 
  397.     return ret;
  398. }
       ^
  399. 
  400. /**

libavcodec/h264_parser.c:222:9: 
220. 
221.         init_get_bits(&h->gb, ptr, 8 * dst_length);
222.         switch (h->nal_unit_type) {
             ^
223.         case NAL_SPS:
224.             ff_h264_decode_seq_parameter_set(h);

libavcodec/h264_parser.c:223:9: Switch condition is true. Entering switch case
221.         init_get_bits(&h->gb, ptr, 8 * dst_length);
222.         switch (h->nal_unit_type) {
223.         case NAL_SPS:
             ^
224.             ff_h264_decode_seq_parameter_set(h);
225.             break;

libavcodec/h264_parser.c:224:13: 
222.         switch (h->nal_unit_type) {
223.         case NAL_SPS:
224.             ff_h264_decode_seq_parameter_set(h);
                 ^
225.             break;
226.         case NAL_PPS:

libavcodec/h264_ps.c:299:1: start of procedure ff_h264_decode_seq_parameter_set()
  297. }
  298. 
  299. int ff_h264_decode_seq_parameter_set(H264Context *h)
       ^
  300. {
  301.     int profile_idc, level_idc, constraint_set_flags = 0;

libavcodec/h264_ps.c:301:5: 
  299. int ff_h264_decode_seq_parameter_set(H264Context *h)
  300. {
  301.     int profile_idc, level_idc, constraint_set_flags = 0;
           ^
  302.     unsigned int sps_id;
  303.     int i, log2_max_frame_num_minus4;

libavcodec/h264_ps.c:306:5: Skipping get_bits(): empty list of specs
  304.     SPS *sps;
  305. 
  306.     profile_idc           = get_bits(&h->gb, 8);
           ^
  307.     constraint_set_flags |= get_bits1(&h->gb) << 0;   // constraint_set0_flag
  308.     constraint_set_flags |= get_bits1(&h->gb) << 1;   // constraint_set1_flag

libavcodec/h264_ps.c:307:5: 
  305. 
  306.     profile_idc           = get_bits(&h->gb, 8);
  307.     constraint_set_flags |= get_bits1(&h->gb) << 0;   // constraint_set0_flag
           ^
  308.     constraint_set_flags |= get_bits1(&h->gb) << 1;   // constraint_set1_flag
  309.     constraint_set_flags |= get_bits1(&h->gb) << 2;   // constraint_set2_flag

libavcodec/get_bits.h:271:1: start of procedure get_bits1()
    269. }
    270. 
    271. static inline unsigned int get_bits1(GetBitContext *s)
         ^
    272. {
    273.     unsigned int index = s->index;

libavcodec/get_bits.h:273:5: 
    271. static inline unsigned int get_bits1(GetBitContext *s)
    272. {
    273.     unsigned int index = s->index;
             ^
    274.     uint8_t result     = s->buffer[index >> 3];
    275. #ifdef BITSTREAM_READER_LE

libavcodec/get_bits.h:274:5: 
    272. {
    273.     unsigned int index = s->index;
    274.     uint8_t result     = s->buffer[index >> 3];
             ^
    275. #ifdef BITSTREAM_READER_LE
    276.     result >>= index & 7;

libavcodec/get_bits.h:276:5: 
    274.     uint8_t result     = s->buffer[index >> 3];
    275. #ifdef BITSTREAM_READER_LE
    276.     result >>= index & 7;
             ^
    277.     result  &= 1;
    278. #else

libavcodec/get_bits.h:277:5: 
    275. #ifdef BITSTREAM_READER_LE
    276.     result >>= index & 7;
    277.     result  &= 1;
             ^
    278. #else
    279.     result <<= index & 7;

libavcodec/get_bits.h:283:9: Taking true branch
    281. #endif
    282. #if !UNCHECKED_BITSTREAM_READER
    283.     if (s->index < s->size_in_bits_plus8)
                 ^
    284. #endif
    285.         index++;

libavcodec/get_bits.h:285:9: 
    283.     if (s->index < s->size_in_bits_plus8)
    284. #endif
    285.         index++;
                 ^
    286.     s->index = index;
    287. 

libavcodec/get_bits.h:286:5: 
    284. #endif
    285.         index++;
    286.     s->index = index;
             ^
    287. 
    288.     return result;

libavcodec/get_bits.h:288:5: 
    286.     s->index = index;
    287. 
    288.     return result;
             ^
    289. }
    290. 

libavcodec/get_bits.h:289:1: return from a call to get_bits1
    287. 
    288.     return result;
    289. }
         ^
    290. 
    291. static inline unsigned int show_bits1(GetBitContext *s)

libavcodec/h264_ps.c:308:5: 
  306.     profile_idc           = get_bits(&h->gb, 8);
  307.     constraint_set_flags |= get_bits1(&h->gb) << 0;   // constraint_set0_flag
  308.     constraint_set_flags |= get_bits1(&h->gb) << 1;   // constraint_set1_flag
           ^
  309.     constraint_set_flags |= get_bits1(&h->gb) << 2;   // constraint_set2_flag
  310.     constraint_set_flags |= get_bits1(&h->gb) << 3;   // constraint_set3_flag

libavcodec/get_bits.h:271:1: start of procedure get_bits1()
    269. }
    270. 
    271. static inline unsigned int get_bits1(GetBitContext *s)
         ^
    272. {
    273.     unsigned int index = s->index;

libavcodec/get_bits.h:273:5: 
    271. static inline unsigned int get_bits1(GetBitContext *s)
    272. {
    273.     unsigned int index = s->index;
             ^
    274.     uint8_t result     = s->buffer[index >> 3];
    275. #ifdef BITSTREAM_READER_LE

libavcodec/get_bits.h:274:5: 
    272. {
    273.     unsigned int index = s->index;
    274.     uint8_t result     = s->buffer[index >> 3];
             ^
    275. #ifdef BITSTREAM_READER_LE
    276.     result >>= index & 7;

libavcodec/get_bits.h:276:5: 
    274.     uint8_t result     = s->buffer[index >> 3];
    275. #ifdef BITSTREAM_READER_LE
    276.     result >>= index & 7;
             ^
    277.     result  &= 1;
    278. #else

libavcodec/get_bits.h:277:5: 
    275. #ifdef BITSTREAM_READER_LE
    276.     result >>= index & 7;
    277.     result  &= 1;
             ^
    278. #else
    279.     result <<= index & 7;

libavcodec/get_bits.h:283:9: Taking true branch
    281. #endif
    282. #if !UNCHECKED_BITSTREAM_READER
    283.     if (s->index < s->size_in_bits_plus8)
                 ^
    284. #endif
    285.         index++;

libavcodec/get_bits.h:285:9: 
    283.     if (s->index < s->size_in_bits_plus8)
    284. #endif
    285.         index++;
                 ^
    286.     s->index = index;
    287. 

libavcodec/get_bits.h:286:5: 
    284. #endif
    285.         index++;
    286.     s->index = index;
             ^
    287. 
    288.     return result;

libavcodec/get_bits.h:288:5: 
    286.     s->index = index;
    287. 
    288.     return result;
             ^
    289. }
    290. 

libavcodec/get_bits.h:289:1: return from a call to get_bits1
    287. 
    288.     return result;
    289. }
         ^
    290. 
    291. static inline unsigned int show_bits1(GetBitContext *s)

libavcodec/h264_ps.c:309:5: 
  307.     constraint_set_flags |= get_bits1(&h->gb) << 0;   // constraint_set0_flag
  308.     constraint_set_flags |= get_bits1(&h->gb) << 1;   // constraint_set1_flag
  309.     constraint_set_flags |= get_bits1(&h->gb) << 2;   // constraint_set2_flag
           ^
  310.     constraint_set_flags |= get_bits1(&h->gb) << 3;   // constraint_set3_flag
  311.     constraint_set_flags |= get_bits1(&h->gb) << 4;   // constraint_set4_flag

libavcodec/get_bits.h:271:1: start of procedure get_bits1()
    269. }
    270. 
    271. static inline unsigned int get_bits1(GetBitContext *s)
         ^
    272. {
    273.     unsigned int index = s->index;

libavcodec/get_bits.h:273:5: 
    271. static inline unsigned int get_bits1(GetBitContext *s)
    272. {
    273.     unsigned int index = s->index;
             ^
    274.     uint8_t result     = s->buffer[index >> 3];
    275. #ifdef BITSTREAM_READER_LE

libavcodec/get_bits.h:274:5: 
    272. {
    273.     unsigned int index = s->index;
    274.     uint8_t result     = s->buffer[index >> 3];
             ^
    275. #ifdef BITSTREAM_READER_LE
    276.     result >>= index & 7;

libavcodec/get_bits.h:276:5: 
    274.     uint8_t result     = s->buffer[index >> 3];
    275. #ifdef BITSTREAM_READER_LE
    276.     result >>= index & 7;
             ^
    277.     result  &= 1;
    278. #else

libavcodec/get_bits.h:277:5: 
    275. #ifdef BITSTREAM_READER_LE
    276.     result >>= index & 7;
    277.     result  &= 1;
             ^
    278. #else
    279.     result <<= index & 7;

libavcodec/get_bits.h:283:9: Taking true branch
    281. #endif
    282. #if !UNCHECKED_BITSTREAM_READER
    283.     if (s->index < s->size_in_bits_plus8)
                 ^
    284. #endif
    285.         index++;

libavcodec/get_bits.h:285:9: 
    283.     if (s->index < s->size_in_bits_plus8)
    284. #endif
    285.         index++;
                 ^
    286.     s->index = index;
    287. 

libavcodec/get_bits.h:286:5: 
    284. #endif
    285.         index++;
    286.     s->index = index;
             ^
    287. 
    288.     return result;

libavcodec/get_bits.h:288:5: 
    286.     s->index = index;
    287. 
    288.     return result;
             ^
    289. }
    290. 

libavcodec/get_bits.h:289:1: return from a call to get_bits1
    287. 
    288.     return result;
    289. }
         ^
    290. 
    291. static inline unsigned int show_bits1(GetBitContext *s)

libavcodec/h264_ps.c:310:5: 
  308.     constraint_set_flags |= get_bits1(&h->gb) << 1;   // constraint_set1_flag
  309.     constraint_set_flags |= get_bits1(&h->gb) << 2;   // constraint_set2_flag
  310.     constraint_set_flags |= get_bits1(&h->gb) << 3;   // constraint_set3_flag
           ^
  311.     constraint_set_flags |= get_bits1(&h->gb) << 4;   // constraint_set4_flag
  312.     constraint_set_flags |= get_bits1(&h->gb) << 5;   // constraint_set5_flag

libavcodec/get_bits.h:271:1: start of procedure get_bits1()
    269. }
    270. 
    271. static inline unsigned int get_bits1(GetBitContext *s)
         ^
    272. {
    273.     unsigned int index = s->index;

libavcodec/get_bits.h:273:5: 
    271. static inline unsigned int get_bits1(GetBitContext *s)
    272. {
    273.     unsigned int index = s->index;
             ^
    274.     uint8_t result     = s->buffer[index >> 3];
    275. #ifdef BITSTREAM_READER_LE

libavcodec/get_bits.h:274:5: 
    272. {
    273.     unsigned int index = s->index;
    274.     uint8_t result     = s->buffer[index >> 3];
             ^
    275. #ifdef BITSTREAM_READER_LE
    276.     result >>= index & 7;

libavcodec/get_bits.h:276:5: 
    274.     uint8_t result     = s->buffer[index >> 3];
    275. #ifdef BITSTREAM_READER_LE
    276.     result >>= index & 7;
             ^
    277.     result  &= 1;
    278. #else

libavcodec/get_bits.h:277:5: 
    275. #ifdef BITSTREAM_READER_LE
    276.     result >>= index & 7;
    277.     result  &= 1;
             ^
    278. #else
    279.     result <<= index & 7;

libavcodec/get_bits.h:283:9: Taking true branch
    281. #endif
    282. #if !UNCHECKED_BITSTREAM_READER
    283.     if (s->index < s->size_in_bits_plus8)
                 ^
    284. #endif
    285.         index++;

libavcodec/get_bits.h:285:9: 
    283.     if (s->index < s->size_in_bits_plus8)
    284. #endif
    285.         index++;
                 ^
    286.     s->index = index;
    287. 

libavcodec/get_bits.h:286:5: 
    284. #endif
    285.         index++;
    286.     s->index = index;
             ^
    287. 
    288.     return result;

libavcodec/get_bits.h:288:5: 
    286.     s->index = index;
    287. 
    288.     return result;
             ^
    289. }
    290. 

libavcodec/get_bits.h:289:1: return from a call to get_bits1
    287. 
    288.     return result;
    289. }
         ^
    290. 
    291. static inline unsigned int show_bits1(GetBitContext *s)

libavcodec/h264_ps.c:311:5: 
  309.     constraint_set_flags |= get_bits1(&h->gb) << 2;   // constraint_set2_flag
  310.     constraint_set_flags |= get_bits1(&h->gb) << 3;   // constraint_set3_flag
  311.     constraint_set_flags |= get_bits1(&h->gb) << 4;   // constraint_set4_flag
           ^
  312.     constraint_set_flags |= get_bits1(&h->gb) << 5;   // constraint_set5_flag
  313.     skip_bits(&h->gb, 2);                             // reserved_zero_2bits

libavcodec/get_bits.h:271:1: start of procedure get_bits1()
    269. }
    270. 
    271. static inline unsigned int get_bits1(GetBitContext *s)
         ^
    272. {
    273.     unsigned int index = s->index;

libavcodec/get_bits.h:273:5: 
    271. static inline unsigned int get_bits1(GetBitContext *s)
    272. {
    273.     unsigned int index = s->index;
             ^
    274.     uint8_t result     = s->buffer[index >> 3];
    275. #ifdef BITSTREAM_READER_LE

libavcodec/get_bits.h:274:5: 
    272. {
    273.     unsigned int index = s->index;
    274.     uint8_t result     = s->buffer[index >> 3];
             ^
    275. #ifdef BITSTREAM_READER_LE
    276.     result >>= index & 7;

libavcodec/get_bits.h:276:5: 
    274.     uint8_t result     = s->buffer[index >> 3];
    275. #ifdef BITSTREAM_READER_LE
    276.     result >>= index & 7;
             ^
    277.     result  &= 1;
    278. #else

libavcodec/get_bits.h:277:5: 
    275. #ifdef BITSTREAM_READER_LE
    276.     result >>= index & 7;
    277.     result  &= 1;
             ^
    278. #else
    279.     result <<= index & 7;

libavcodec/get_bits.h:283:9: Taking true branch
    281. #endif
    282. #if !UNCHECKED_BITSTREAM_READER
    283.     if (s->index < s->size_in_bits_plus8)
                 ^
    284. #endif
    285.         index++;

libavcodec/get_bits.h:285:9: 
    283.     if (s->index < s->size_in_bits_plus8)
    284. #endif
    285.         index++;
                 ^
    286.     s->index = index;
    287. 

libavcodec/get_bits.h:286:5: 
    284. #endif
    285.         index++;
    286.     s->index = index;
             ^
    287. 
    288.     return result;

libavcodec/get_bits.h:288:5: 
    286.     s->index = index;
    287. 
    288.     return result;
             ^
    289. }
    290. 

libavcodec/get_bits.h:289:1: return from a call to get_bits1
    287. 
    288.     return result;
    289. }
         ^
    290. 
    291. static inline unsigned int show_bits1(GetBitContext *s)

libavcodec/h264_ps.c:312:5: 
  310.     constraint_set_flags |= get_bits1(&h->gb) << 3;   // constraint_set3_flag
  311.     constraint_set_flags |= get_bits1(&h->gb) << 4;   // constraint_set4_flag
  312.     constraint_set_flags |= get_bits1(&h->gb) << 5;   // constraint_set5_flag
           ^
  313.     skip_bits(&h->gb, 2);                             // reserved_zero_2bits
  314.     level_idc = get_bits(&h->gb, 8);

libavcodec/get_bits.h:271:1: start of procedure get_bits1()
    269. }
    270. 
    271. static inline unsigned int get_bits1(GetBitContext *s)
         ^
    272. {
    273.     unsigned int index = s->index;

libavcodec/get_bits.h:273:5: 
    271. static inline unsigned int get_bits1(GetBitContext *s)
    272. {
    273.     unsigned int index = s->index;
             ^
    274.     uint8_t result     = s->buffer[index >> 3];
    275. #ifdef BITSTREAM_READER_LE

libavcodec/get_bits.h:274:5: 
    272. {
    273.     unsigned int index = s->index;
    274.     uint8_t result     = s->buffer[index >> 3];
             ^
    275. #ifdef BITSTREAM_READER_LE
    276.     result >>= index & 7;
