libavformat/nsvdec.c:316: error: Null Dereference
  pointer `p` last assigned on line 312 could be null and is dereferenced at line 316, column 20.

libavformat/nsvdec.c:267:1: start of procedure nsv_parse_NSVf_header()
265. }
266. 
267. static int nsv_parse_NSVf_header(AVFormatContext *s, AVFormatParameters *ap)
     ^
268. {
269.     NSVContext *nsv = s->priv_data;

libavformat/nsvdec.c:269:5: 
267. static int nsv_parse_NSVf_header(AVFormatContext *s, AVFormatParameters *ap)
268. {
269.     NSVContext *nsv = s->priv_data;
         ^
270.     AVIOContext *pb = s->pb;
271.     unsigned int av_unused file_size;

libavformat/nsvdec.c:270:5: 
268. {
269.     NSVContext *nsv = s->priv_data;
270.     AVIOContext *pb = s->pb;
         ^
271.     unsigned int av_unused file_size;
272.     unsigned int size;

libavformat/nsvdec.c:280:5: 
278.     av_dlog(s, "%s()\n", __FUNCTION__);
279. 
280.     nsv->state = NSV_UNSYNC; /* in case we fail */
         ^
281. 
282.     size = avio_rl32(pb);

libavformat/nsvdec.c:282:5: 
280.     nsv->state = NSV_UNSYNC; /* in case we fail */
281. 
282.     size = avio_rl32(pb);
         ^
283.     if (size < 28)
284.         return -1;

libavformat/aviobuf.c:706:1: start of procedure avio_rl32()
  704. }
  705. 
  706. unsigned int avio_rl32(AVIOContext *s)
       ^
  707. {
  708.     unsigned int val;

libavformat/aviobuf.c:709:5: 
  707. {
  708.     unsigned int val;
  709.     val = avio_rl16(s);
           ^
  710.     val |= avio_rl16(s) << 16;
  711.     return val;

libavformat/aviobuf.c:690:1: start of procedure avio_rl16()
    688. }
    689. 
    690. unsigned int avio_rl16(AVIOContext *s)
         ^
    691. {
    692.     unsigned int val;

libavformat/aviobuf.c:693:5: 
    691. {
    692.     unsigned int val;
    693.     val = avio_r8(s);
             ^
    694.     val |= avio_r8(s) << 8;
    695.     return val;

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:694:5: 
    692.     unsigned int val;
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
             ^
    695.     return val;
    696. }

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:695:5: 
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
    695.     return val;
             ^
    696. }
    697. 

libavformat/aviobuf.c:696:1: return from a call to avio_rl16
    694.     val |= avio_r8(s) << 8;
    695.     return val;
    696. }
         ^
    697. 
    698. unsigned int avio_rl24(AVIOContext *s)

libavformat/aviobuf.c:710:5: 
  708.     unsigned int val;
  709.     val = avio_rl16(s);
  710.     val |= avio_rl16(s) << 16;
           ^
  711.     return val;
  712. }

libavformat/aviobuf.c:690:1: start of procedure avio_rl16()
    688. }
    689. 
    690. unsigned int avio_rl16(AVIOContext *s)
         ^
    691. {
    692.     unsigned int val;

libavformat/aviobuf.c:693:5: 
    691. {
    692.     unsigned int val;
    693.     val = avio_r8(s);
             ^
    694.     val |= avio_r8(s) << 8;
    695.     return val;

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:694:5: 
    692.     unsigned int val;
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
             ^
    695.     return val;
    696. }

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:695:5: 
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
    695.     return val;
             ^
    696. }
    697. 

libavformat/aviobuf.c:696:1: return from a call to avio_rl16
    694.     val |= avio_r8(s) << 8;
    695.     return val;
    696. }
         ^
    697. 
    698. unsigned int avio_rl24(AVIOContext *s)

libavformat/aviobuf.c:711:5: 
  709.     val = avio_rl16(s);
  710.     val |= avio_rl16(s) << 16;
  711.     return val;
           ^
  712. }
  713. 

libavformat/aviobuf.c:712:1: return from a call to avio_rl32
  710.     val |= avio_rl16(s) << 16;
  711.     return val;
  712. }
       ^
  713. 
  714. uint64_t avio_rl64(AVIOContext *s)

libavformat/nsvdec.c:283:9: Taking false branch
281. 
282.     size = avio_rl32(pb);
283.     if (size < 28)
             ^
284.         return -1;
285.     nsv->NSVf_end = size;

libavformat/nsvdec.c:285:5: 
283.     if (size < 28)
284.         return -1;
285.     nsv->NSVf_end = size;
         ^
286. 
287.     //s->file_size = (uint32_t)avio_rl32(pb);

libavformat/nsvdec.c:288:5: 
286. 
287.     //s->file_size = (uint32_t)avio_rl32(pb);
288.     file_size = (uint32_t)avio_rl32(pb);
         ^
289.     av_dlog(s, "NSV NSVf chunk_size %u\n", size);
290.     av_dlog(s, "NSV NSVf file_size %u\n", file_size);

libavformat/aviobuf.c:706:1: start of procedure avio_rl32()
  704. }
  705. 
  706. unsigned int avio_rl32(AVIOContext *s)
       ^
  707. {
  708.     unsigned int val;

libavformat/aviobuf.c:709:5: 
  707. {
  708.     unsigned int val;
  709.     val = avio_rl16(s);
           ^
  710.     val |= avio_rl16(s) << 16;
  711.     return val;

libavformat/aviobuf.c:690:1: start of procedure avio_rl16()
    688. }
    689. 
    690. unsigned int avio_rl16(AVIOContext *s)
         ^
    691. {
    692.     unsigned int val;

libavformat/aviobuf.c:693:5: 
    691. {
    692.     unsigned int val;
    693.     val = avio_r8(s);
             ^
    694.     val |= avio_r8(s) << 8;
    695.     return val;

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:694:5: 
    692.     unsigned int val;
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
             ^
    695.     return val;
    696. }

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:695:5: 
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
    695.     return val;
             ^
    696. }
    697. 

libavformat/aviobuf.c:696:1: return from a call to avio_rl16
    694.     val |= avio_r8(s) << 8;
    695.     return val;
    696. }
         ^
    697. 
    698. unsigned int avio_rl24(AVIOContext *s)

libavformat/aviobuf.c:710:5: 
  708.     unsigned int val;
  709.     val = avio_rl16(s);
  710.     val |= avio_rl16(s) << 16;
           ^
  711.     return val;
  712. }

libavformat/aviobuf.c:690:1: start of procedure avio_rl16()
    688. }
    689. 
    690. unsigned int avio_rl16(AVIOContext *s)
         ^
    691. {
    692.     unsigned int val;

libavformat/aviobuf.c:693:5: 
    691. {
    692.     unsigned int val;
    693.     val = avio_r8(s);
             ^
    694.     val |= avio_r8(s) << 8;
    695.     return val;

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:694:5: 
    692.     unsigned int val;
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
             ^
    695.     return val;
    696. }

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:695:5: 
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
    695.     return val;
             ^
    696. }
    697. 

libavformat/aviobuf.c:696:1: return from a call to avio_rl16
    694.     val |= avio_r8(s) << 8;
    695.     return val;
    696. }
         ^
    697. 
    698. unsigned int avio_rl24(AVIOContext *s)

libavformat/aviobuf.c:711:5: 
  709.     val = avio_rl16(s);
  710.     val |= avio_rl16(s) << 16;
  711.     return val;
           ^
  712. }
  713. 

libavformat/aviobuf.c:712:1: return from a call to avio_rl32
  710.     val |= avio_rl16(s) << 16;
  711.     return val;
  712. }
       ^
  713. 
  714. uint64_t avio_rl64(AVIOContext *s)

libavformat/nsvdec.c:292:5: 
290.     av_dlog(s, "NSV NSVf file_size %u\n", file_size);
291. 
292.     nsv->duration = duration = avio_rl32(pb); /* in ms */
         ^
293.     av_dlog(s, "NSV NSVf duration %"PRId64" ms\n", duration);
294.     // XXX: store it in AVStreams

libavformat/aviobuf.c:706:1: start of procedure avio_rl32()
  704. }
  705. 
  706. unsigned int avio_rl32(AVIOContext *s)
       ^
  707. {
  708.     unsigned int val;

libavformat/aviobuf.c:709:5: 
  707. {
  708.     unsigned int val;
  709.     val = avio_rl16(s);
           ^
  710.     val |= avio_rl16(s) << 16;
  711.     return val;

libavformat/aviobuf.c:690:1: start of procedure avio_rl16()
    688. }
    689. 
    690. unsigned int avio_rl16(AVIOContext *s)
         ^
    691. {
    692.     unsigned int val;

libavformat/aviobuf.c:693:5: 
    691. {
    692.     unsigned int val;
    693.     val = avio_r8(s);
             ^
    694.     val |= avio_r8(s) << 8;
    695.     return val;

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:694:5: 
    692.     unsigned int val;
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
             ^
    695.     return val;
    696. }

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:695:5: 
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
    695.     return val;
             ^
    696. }
    697. 

libavformat/aviobuf.c:696:1: return from a call to avio_rl16
    694.     val |= avio_r8(s) << 8;
    695.     return val;
    696. }
         ^
    697. 
    698. unsigned int avio_rl24(AVIOContext *s)

libavformat/aviobuf.c:710:5: 
  708.     unsigned int val;
  709.     val = avio_rl16(s);
  710.     val |= avio_rl16(s) << 16;
           ^
  711.     return val;
  712. }

libavformat/aviobuf.c:690:1: start of procedure avio_rl16()
    688. }
    689. 
    690. unsigned int avio_rl16(AVIOContext *s)
         ^
    691. {
    692.     unsigned int val;

libavformat/aviobuf.c:693:5: 
    691. {
    692.     unsigned int val;
    693.     val = avio_r8(s);
             ^
    694.     val |= avio_r8(s) << 8;
    695.     return val;

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:694:5: 
    692.     unsigned int val;
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
             ^
    695.     return val;
    696. }

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:695:5: 
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
    695.     return val;
             ^
    696. }
    697. 

libavformat/aviobuf.c:696:1: return from a call to avio_rl16
    694.     val |= avio_r8(s) << 8;
    695.     return val;
    696. }
         ^
    697. 
    698. unsigned int avio_rl24(AVIOContext *s)

libavformat/aviobuf.c:711:5: 
  709.     val = avio_rl16(s);
  710.     val |= avio_rl16(s) << 16;
  711.     return val;
           ^
  712. }
  713. 

libavformat/aviobuf.c:712:1: return from a call to avio_rl32
  710.     val |= avio_rl16(s) << 16;
  711.     return val;
  712. }
       ^
  713. 
  714. uint64_t avio_rl64(AVIOContext *s)

libavformat/nsvdec.c:296:5: 
294.     // XXX: store it in AVStreams
295. 
296.     strings_size = avio_rl32(pb);
         ^
297.     table_entries = avio_rl32(pb);
298.     table_entries_used = avio_rl32(pb);

libavformat/aviobuf.c:706:1: start of procedure avio_rl32()
  704. }
  705. 
  706. unsigned int avio_rl32(AVIOContext *s)
       ^
  707. {
  708.     unsigned int val;

libavformat/aviobuf.c:709:5: 
  707. {
  708.     unsigned int val;
  709.     val = avio_rl16(s);
           ^
  710.     val |= avio_rl16(s) << 16;
  711.     return val;

libavformat/aviobuf.c:690:1: start of procedure avio_rl16()
    688. }
    689. 
    690. unsigned int avio_rl16(AVIOContext *s)
         ^
    691. {
    692.     unsigned int val;

libavformat/aviobuf.c:693:5: 
    691. {
    692.     unsigned int val;
    693.     val = avio_r8(s);
             ^
    694.     val |= avio_r8(s) << 8;
    695.     return val;

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:694:5: 
    692.     unsigned int val;
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
             ^
    695.     return val;
    696. }

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:695:5: 
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
    695.     return val;
             ^
    696. }
    697. 

libavformat/aviobuf.c:696:1: return from a call to avio_rl16
    694.     val |= avio_r8(s) << 8;
    695.     return val;
    696. }
         ^
    697. 
    698. unsigned int avio_rl24(AVIOContext *s)

libavformat/aviobuf.c:710:5: 
  708.     unsigned int val;
  709.     val = avio_rl16(s);
  710.     val |= avio_rl16(s) << 16;
           ^
  711.     return val;
  712. }

libavformat/aviobuf.c:690:1: start of procedure avio_rl16()
    688. }
    689. 
    690. unsigned int avio_rl16(AVIOContext *s)
         ^
    691. {
    692.     unsigned int val;

libavformat/aviobuf.c:693:5: 
    691. {
    692.     unsigned int val;
    693.     val = avio_r8(s);
             ^
    694.     val |= avio_r8(s) << 8;
    695.     return val;

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:694:5: 
    692.     unsigned int val;
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
             ^
    695.     return val;
    696. }

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:695:5: 
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
    695.     return val;
             ^
    696. }
    697. 

libavformat/aviobuf.c:696:1: return from a call to avio_rl16
    694.     val |= avio_r8(s) << 8;
    695.     return val;
    696. }
         ^
    697. 
    698. unsigned int avio_rl24(AVIOContext *s)

libavformat/aviobuf.c:711:5: 
  709.     val = avio_rl16(s);
  710.     val |= avio_rl16(s) << 16;
  711.     return val;
           ^
  712. }
  713. 

libavformat/aviobuf.c:712:1: return from a call to avio_rl32
  710.     val |= avio_rl16(s) << 16;
  711.     return val;
  712. }
       ^
  713. 
  714. uint64_t avio_rl64(AVIOContext *s)

libavformat/nsvdec.c:297:5: 
295. 
296.     strings_size = avio_rl32(pb);
297.     table_entries = avio_rl32(pb);
         ^
298.     table_entries_used = avio_rl32(pb);
299.     av_dlog(s, "NSV NSVf info-strings size: %d, table entries: %d, bis %d\n",

libavformat/aviobuf.c:706:1: start of procedure avio_rl32()
  704. }
  705. 
  706. unsigned int avio_rl32(AVIOContext *s)
       ^
  707. {
  708.     unsigned int val;

libavformat/aviobuf.c:709:5: 
  707. {
  708.     unsigned int val;
  709.     val = avio_rl16(s);
           ^
  710.     val |= avio_rl16(s) << 16;
  711.     return val;

libavformat/aviobuf.c:690:1: start of procedure avio_rl16()
    688. }
    689. 
    690. unsigned int avio_rl16(AVIOContext *s)
         ^
    691. {
    692.     unsigned int val;

libavformat/aviobuf.c:693:5: 
    691. {
    692.     unsigned int val;
    693.     val = avio_r8(s);
             ^
    694.     val |= avio_r8(s) << 8;
    695.     return val;

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:694:5: 
    692.     unsigned int val;
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
             ^
    695.     return val;
    696. }

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:695:5: 
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
    695.     return val;
             ^
    696. }
    697. 

libavformat/aviobuf.c:696:1: return from a call to avio_rl16
    694.     val |= avio_r8(s) << 8;
    695.     return val;
    696. }
         ^
    697. 
    698. unsigned int avio_rl24(AVIOContext *s)

libavformat/aviobuf.c:710:5: 
  708.     unsigned int val;
  709.     val = avio_rl16(s);
  710.     val |= avio_rl16(s) << 16;
           ^
  711.     return val;
  712. }

libavformat/aviobuf.c:690:1: start of procedure avio_rl16()
    688. }
    689. 
    690. unsigned int avio_rl16(AVIOContext *s)
         ^
    691. {
    692.     unsigned int val;

libavformat/aviobuf.c:693:5: 
    691. {
    692.     unsigned int val;
    693.     val = avio_r8(s);
             ^
    694.     val |= avio_r8(s) << 8;
    695.     return val;

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:694:5: 
    692.     unsigned int val;
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
             ^
    695.     return val;
    696. }

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:695:5: 
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
    695.     return val;
             ^
    696. }
    697. 

libavformat/aviobuf.c:696:1: return from a call to avio_rl16
    694.     val |= avio_r8(s) << 8;
    695.     return val;
    696. }
         ^
    697. 
    698. unsigned int avio_rl24(AVIOContext *s)

libavformat/aviobuf.c:711:5: 
  709.     val = avio_rl16(s);
  710.     val |= avio_rl16(s) << 16;
  711.     return val;
           ^
  712. }
  713. 

libavformat/aviobuf.c:712:1: return from a call to avio_rl32
  710.     val |= avio_rl16(s) << 16;
  711.     return val;
  712. }
       ^
  713. 
  714. uint64_t avio_rl64(AVIOContext *s)

libavformat/nsvdec.c:298:5: 
296.     strings_size = avio_rl32(pb);
297.     table_entries = avio_rl32(pb);
298.     table_entries_used = avio_rl32(pb);
         ^
299.     av_dlog(s, "NSV NSVf info-strings size: %d, table entries: %d, bis %d\n",
300.             strings_size, table_entries, table_entries_used);

libavformat/aviobuf.c:706:1: start of procedure avio_rl32()
  704. }
  705. 
  706. unsigned int avio_rl32(AVIOContext *s)
       ^
  707. {
  708.     unsigned int val;

libavformat/aviobuf.c:709:5: 
  707. {
  708.     unsigned int val;
  709.     val = avio_rl16(s);
           ^
  710.     val |= avio_rl16(s) << 16;
  711.     return val;

libavformat/aviobuf.c:690:1: start of procedure avio_rl16()
    688. }
    689. 
    690. unsigned int avio_rl16(AVIOContext *s)
         ^
    691. {
    692.     unsigned int val;

libavformat/aviobuf.c:693:5: 
    691. {
    692.     unsigned int val;
    693.     val = avio_r8(s);
             ^
    694.     val |= avio_r8(s) << 8;
    695.     return val;

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:694:5: 
    692.     unsigned int val;
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
             ^
    695.     return val;
    696. }

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:695:5: 
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
    695.     return val;
             ^
    696. }
    697. 

libavformat/aviobuf.c:696:1: return from a call to avio_rl16
    694.     val |= avio_r8(s) << 8;
    695.     return val;
    696. }
         ^
    697. 
    698. unsigned int avio_rl24(AVIOContext *s)

libavformat/aviobuf.c:710:5: 
  708.     unsigned int val;
  709.     val = avio_rl16(s);
  710.     val |= avio_rl16(s) << 16;
           ^
  711.     return val;
  712. }

libavformat/aviobuf.c:690:1: start of procedure avio_rl16()
    688. }
    689. 
    690. unsigned int avio_rl16(AVIOContext *s)
         ^
    691. {
    692.     unsigned int val;

libavformat/aviobuf.c:693:5: 
    691. {
    692.     unsigned int val;
    693.     val = avio_r8(s);
             ^
    694.     val |= avio_r8(s) << 8;
    695.     return val;

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:694:5: 
    692.     unsigned int val;
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
             ^
    695.     return val;
    696. }

libavformat/aviobuf.c:600:1: start of procedure avio_r8()
      598. 
      599. /* XXX: put an inline version */
      600. int avio_r8(AVIOContext *s)
           ^
      601. {
      602.     if (s->buf_ptr >= s->buf_end)

libavformat/aviobuf.c:602:9: Taking false branch
      600. int avio_r8(AVIOContext *s)
      601. {
      602.     if (s->buf_ptr >= s->buf_end)
                   ^
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)

libavformat/aviobuf.c:604:9: Taking true branch
      602.     if (s->buf_ptr >= s->buf_end)
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
                   ^
      605.         return *s->buf_ptr++;
      606.     return 0;

libavformat/aviobuf.c:605:9: 
      603.         fill_buffer(s);
      604.     if (s->buf_ptr < s->buf_end)
      605.         return *s->buf_ptr++;
                   ^
      606.     return 0;
      607. }

libavformat/aviobuf.c:607:1: return from a call to avio_r8
      605.         return *s->buf_ptr++;
      606.     return 0;
      607. }
           ^
      608. 
      609. #if FF_API_OLD_AVIO

libavformat/aviobuf.c:695:5: 
    693.     val = avio_r8(s);
    694.     val |= avio_r8(s) << 8;
    695.     return val;
             ^
    696. }
    697. 

libavformat/aviobuf.c:696:1: return from a call to avio_rl16
    694.     val |= avio_r8(s) << 8;
    695.     return val;
    696. }
         ^
    697. 
    698. unsigned int avio_rl24(AVIOContext *s)

libavformat/aviobuf.c:711:5: 
  709.     val = avio_rl16(s);
  710.     val |= avio_rl16(s) << 16;
  711.     return val;
           ^
  712. }
  713. 

libavformat/aviobuf.c:712:1: return from a call to avio_rl32
  710.     val |= avio_rl16(s) << 16;
  711.     return val;
  712. }
       ^
  713. 
  714. uint64_t avio_rl64(AVIOContext *s)

libavformat/nsvdec.c:301:9: Taking false branch
299.     av_dlog(s, "NSV NSVf info-strings size: %d, table entries: %d, bis %d\n",
300.             strings_size, table_entries, table_entries_used);
301.     if (pb->eof_reached)
             ^
302.         return -1;
303. 

libavformat/nsvdec.c:306:9: Taking true branch
304.     av_dlog(s, "NSV got header; filepos %"PRId64"\n", avio_tell(pb));
305. 
306.     if (strings_size > 0) {
             ^
307.         char *strings; /* last byte will be '\0' to play safe with str*() */
308.         char *p, *endp;

libavformat/nsvdec.c:312:9: 
310.         char quote;
311. 
312.         p = strings = av_mallocz(strings_size + 1);
             ^
313.         endp = strings + strings_size;
314.         avio_read(pb, strings, strings_size);

libavutil/mem.c:154:1: start of procedure av_mallocz()
  152. }
  153. 
  154. void *av_mallocz(size_t size)
       ^
  155. {
  156.     void *ptr = av_malloc(size);

libavutil/mem.c:156:5: 
  154. void *av_mallocz(size_t size)
  155. {
  156.     void *ptr = av_malloc(size);
           ^
  157.     if (ptr)
  158.         memset(ptr, 0, size);

libavutil/mem.c:64:1: start of procedure av_malloc()
    62.    linker will do it automatically. */
    63. 
    64. void *av_malloc(size_t size)
        ^
    65. {
    66.     void *ptr = NULL;

libavutil/mem.c:66:5: 
    64. void *av_malloc(size_t size)
    65. {
    66.     void *ptr = NULL;
            ^
    67. #if CONFIG_MEMALIGN_HACK
    68.     long diff;

libavutil/mem.c:72:8: Taking true branch
    70. 
    71.     /* let's disallow possible ambiguous cases */
    72.     if(size > (INT_MAX-32) )
               ^
    73.         return NULL;
    74. 

libavutil/mem.c:73:9: 
    71.     /* let's disallow possible ambiguous cases */
    72.     if(size > (INT_MAX-32) )
    73.         return NULL;
                ^
    74. 
    75. #if CONFIG_MEMALIGN_HACK

libavutil/mem.c:115:1: return from a call to av_malloc
    113. #endif
    114.     return ptr;
    115. }
         ^
    116. 
    117. void *av_realloc(void *ptr, size_t size)

libavutil/mem.c:157:9: Taking false branch
  155. {
  156.     void *ptr = av_malloc(size);
  157.     if (ptr)
               ^
  158.         memset(ptr, 0, size);
  159.     return ptr;

libavutil/mem.c:159:5: 
  157.     if (ptr)
  158.         memset(ptr, 0, size);
  159.     return ptr;
           ^
  160. }
  161. 

libavutil/mem.c:160:1: return from a call to av_mallocz
  158.         memset(ptr, 0, size);
  159.     return ptr;
  160. }
       ^
  161. 
  162. char *av_strdup(const char *s)

libavformat/nsvdec.c:313:9: 
311. 
312.         p = strings = av_mallocz(strings_size + 1);
313.         endp = strings + strings_size;
             ^
314.         avio_read(pb, strings, strings_size);
315.         while (p < endp) {

libavformat/nsvdec.c:314:9: Skipping avio_read(): empty list of specs
312.         p = strings = av_mallocz(strings_size + 1);
313.         endp = strings + strings_size;
314.         avio_read(pb, strings, strings_size);
             ^
315.         while (p < endp) {
316.             while (*p == ' ')

libavformat/nsvdec.c:315:16: Loop condition is true. Entering loop body
313.         endp = strings + strings_size;
314.         avio_read(pb, strings, strings_size);
315.         while (p < endp) {
                    ^
316.             while (*p == ' ')
317.                 p++; /* strip out spaces */

libavformat/nsvdec.c:316:20: 
314.         avio_read(pb, strings, strings_size);
315.         while (p < endp) {
316.             while (*p == ' ')
                        ^
317.                 p++; /* strip out spaces */
318.             if (p >= endp-2)
