libavformat/oggparseflac.c:65: error: Null Dereference
  pointer `st->codec->extradata` last assigned on line 63 could be null and is dereferenced by call to `memcpy()` at line 65, column 9.

libavformat/oggparseflac.c:29:1: start of procedure flac_header()
27. #define OGG_FLAC_METADATA_TYPE_STREAMINFO 0x7F
28. 
29. static int
    ^
30. flac_header (AVFormatContext * s, int idx)
31. {

libavformat/oggparseflac.c:32:5: 
30. flac_header (AVFormatContext * s, int idx)
31. {
32.     struct ogg *ogg = s->priv_data;
        ^
33.     struct ogg_stream *os = ogg->streams + idx;
34.     AVStream *st = s->streams[idx];

libavformat/oggparseflac.c:33:5: 
31. {
32.     struct ogg *ogg = s->priv_data;
33.     struct ogg_stream *os = ogg->streams + idx;
        ^
34.     AVStream *st = s->streams[idx];
35.     GetBitContext gb;

libavformat/oggparseflac.c:34:5: 
32.     struct ogg *ogg = s->priv_data;
33.     struct ogg_stream *os = ogg->streams + idx;
34.     AVStream *st = s->streams[idx];
        ^
35.     GetBitContext gb;
36.     FLACStreaminfo si;

libavformat/oggparseflac.c:39:9: Taking false branch
37.     int mdt;
38. 
39.     if (os->buf[os->pstart] == 0xff)
            ^
40.         return 0;
41. 

libavformat/oggparseflac.c:42:5: 
40.         return 0;
41. 
42.     init_get_bits(&gb, os->buf + os->pstart, os->psize*8);
        ^
43.     skip_bits1(&gb); /* metadata_last */
44.     mdt = get_bits(&gb, 7);

libavcodec/get_bits.h:496:1: start of procedure init_get_bits()
  494.  * responsible for checking for the buffer end yourself (take advantage of the padding)!
  495.  */
  496. static inline void init_get_bits(GetBitContext *s,
       ^
  497.                    const uint8_t *buffer, int bit_size)
  498. {

libavcodec/get_bits.h:499:5: 
  497.                    const uint8_t *buffer, int bit_size)
  498. {
  499.     int buffer_size= (bit_size+7)>>3;
           ^
  500.     if(buffer_size < 0 || bit_size < 0) {
  501.         buffer_size = bit_size = 0;

libavcodec/get_bits.h:500:8: Taking false branch
  498. {
  499.     int buffer_size= (bit_size+7)>>3;
  500.     if(buffer_size < 0 || bit_size < 0) {
              ^
  501.         buffer_size = bit_size = 0;
  502.         buffer = NULL;

libavcodec/get_bits.h:500:27: Taking false branch
  498. {
  499.     int buffer_size= (bit_size+7)>>3;
  500.     if(buffer_size < 0 || bit_size < 0) {
                                 ^
  501.         buffer_size = bit_size = 0;
  502.         buffer = NULL;

libavcodec/get_bits.h:505:5: 
  503.     }
  504. 
  505.     s->buffer= buffer;
           ^
  506.     s->size_in_bits= bit_size;
  507.     s->buffer_end= buffer + buffer_size;

libavcodec/get_bits.h:506:5: 
  504. 
  505.     s->buffer= buffer;
  506.     s->size_in_bits= bit_size;
           ^
  507.     s->buffer_end= buffer + buffer_size;
  508. #ifdef ALT_BITSTREAM_READER

libavcodec/get_bits.h:507:5: 
  505.     s->buffer= buffer;
  506.     s->size_in_bits= bit_size;
  507.     s->buffer_end= buffer + buffer_size;
           ^
  508. #ifdef ALT_BITSTREAM_READER
  509.     s->index=0;

libavcodec/get_bits.h:509:5: 
  507.     s->buffer_end= buffer + buffer_size;
  508. #ifdef ALT_BITSTREAM_READER
  509.     s->index=0;
           ^
  510. #elif defined LIBMPEG2_BITSTREAM_READER
  511.     s->buffer_ptr = (uint8_t*)((intptr_t)buffer&(~1));

libavcodec/get_bits.h:519:1: return from a call to init_get_bits
  517.     skip_bits_long(s, 0);
  518. #endif
  519. }
       ^
  520. 
  521. static inline void align_get_bits(GetBitContext *s)

libavformat/oggparseflac.c:43:5: 
41. 
42.     init_get_bits(&gb, os->buf + os->pstart, os->psize*8);
43.     skip_bits1(&gb); /* metadata_last */
        ^
44.     mdt = get_bits(&gb, 7);
45. 

libavcodec/get_bits.h:440:1: start of procedure skip_bits1()
  438. }
  439. 
  440. static inline void skip_bits1(GetBitContext *s){
       ^
  441.     skip_bits(s, 1);
  442. }

libavcodec/get_bits.h:441:5: 
  439. 
  440. static inline void skip_bits1(GetBitContext *s){
  441.     skip_bits(s, 1);
           ^
  442. }
  443. 

libavcodec/get_bits.h:408:1: start of procedure skip_bits()
    406. }
    407. 
    408. static inline void skip_bits(GetBitContext *s, int n){
         ^
    409.  //Note gcc seems to optimize this to s->index+=n for the ALT_READER :))
    410.     OPEN_READER(re, s)

libavcodec/get_bits.h:410:5: 
    408. static inline void skip_bits(GetBitContext *s, int n){
    409.  //Note gcc seems to optimize this to s->index+=n for the ALT_READER :))
    410.     OPEN_READER(re, s)
             ^
    411.     UPDATE_CACHE(re, s)
    412.     LAST_SKIP_BITS(re, s, n)

libavcodec/get_bits.h:411:5: 
    409.  //Note gcc seems to optimize this to s->index+=n for the ALT_READER :))
    410.     OPEN_READER(re, s)
    411.     UPDATE_CACHE(re, s)
             ^
    412.     LAST_SKIP_BITS(re, s, n)
    413.     CLOSE_READER(re, s)

libavutil/bswap.h:54:1: start of procedure bswap_32()
      52. 
      53. #ifndef bswap_32
      54. static av_always_inline av_const uint32_t bswap_32(uint32_t x)
          ^
      55. {
      56.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);

libavutil/bswap.h:56:5: 
      54. static av_always_inline av_const uint32_t bswap_32(uint32_t x)
      55. {
      56.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
              ^
      57.     x= (x>>16) | (x<<16);
      58.     return x;

libavutil/bswap.h:57:5: 
      55. {
      56.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
      57.     x= (x>>16) | (x<<16);
              ^
      58.     return x;
      59. }

libavutil/bswap.h:58:5: 
      56.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
      57.     x= (x>>16) | (x<<16);
      58.     return x;
              ^
      59. }
      60. #endif

libavutil/bswap.h:59:1: return from a call to bswap_32
      57.     x= (x>>16) | (x<<16);
      58.     return x;
      59. }
          ^
      60. #endif
      61. 

libavcodec/get_bits.h:412:5: 
    410.     OPEN_READER(re, s)
    411.     UPDATE_CACHE(re, s)
    412.     LAST_SKIP_BITS(re, s, n)
             ^
    413.     CLOSE_READER(re, s)
    414. }

libavcodec/get_bits.h:413:5: 
    411.     UPDATE_CACHE(re, s)
    412.     LAST_SKIP_BITS(re, s, n)
    413.     CLOSE_READER(re, s)
             ^
    414. }
    415. 

libavcodec/get_bits.h:414:1: return from a call to skip_bits
    412.     LAST_SKIP_BITS(re, s, n)
    413.     CLOSE_READER(re, s)
    414. }
         ^
    415. 
    416. static inline unsigned int get_bits1(GetBitContext *s){

libavcodec/get_bits.h:442:1: return from a call to skip_bits1
  440. static inline void skip_bits1(GetBitContext *s){
  441.     skip_bits(s, 1);
  442. }
       ^
  443. 
  444. /**

libavformat/oggparseflac.c:44:5: 
42.     init_get_bits(&gb, os->buf + os->pstart, os->psize*8);
43.     skip_bits1(&gb); /* metadata_last */
44.     mdt = get_bits(&gb, 7);
        ^
45. 
46.     if (mdt == OGG_FLAC_METADATA_TYPE_STREAMINFO) {

libavcodec/get_bits.h:385:1: start of procedure get_bits()
  383.  * Note, the alt bitstream reader can read up to 25 bits, but the libmpeg2 reader can't
  384.  */
  385. static inline unsigned int get_bits(GetBitContext *s, int n){
       ^
  386.     register int tmp;
  387.     OPEN_READER(re, s)

libavcodec/get_bits.h:387:5: 
  385. static inline unsigned int get_bits(GetBitContext *s, int n){
  386.     register int tmp;
  387.     OPEN_READER(re, s)
           ^
  388.     UPDATE_CACHE(re, s)
  389.     tmp= SHOW_UBITS(re, s, n);

libavcodec/get_bits.h:388:5: 
  386.     register int tmp;
  387.     OPEN_READER(re, s)
  388.     UPDATE_CACHE(re, s)
           ^
  389.     tmp= SHOW_UBITS(re, s, n);
  390.     LAST_SKIP_BITS(re, s, n)

libavutil/bswap.h:54:1: start of procedure bswap_32()
    52. 
    53. #ifndef bswap_32
    54. static av_always_inline av_const uint32_t bswap_32(uint32_t x)
        ^
    55. {
    56.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);

libavutil/bswap.h:56:5: 
    54. static av_always_inline av_const uint32_t bswap_32(uint32_t x)
    55. {
    56.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
            ^
    57.     x= (x>>16) | (x<<16);
    58.     return x;

libavutil/bswap.h:57:5: 
    55. {
    56.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
    57.     x= (x>>16) | (x<<16);
            ^
    58.     return x;
    59. }

libavutil/bswap.h:58:5: 
    56.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
    57.     x= (x>>16) | (x<<16);
    58.     return x;
            ^
    59. }
    60. #endif

libavutil/bswap.h:59:1: return from a call to bswap_32
    57.     x= (x>>16) | (x<<16);
    58.     return x;
    59. }
        ^
    60. #endif
    61. 

libavcodec/get_bits.h:389:5: 
  387.     OPEN_READER(re, s)
  388.     UPDATE_CACHE(re, s)
  389.     tmp= SHOW_UBITS(re, s, n);
           ^
  390.     LAST_SKIP_BITS(re, s, n)
  391.     CLOSE_READER(re, s)

libavcodec/get_bits.h:390:5: 
  388.     UPDATE_CACHE(re, s)
  389.     tmp= SHOW_UBITS(re, s, n);
  390.     LAST_SKIP_BITS(re, s, n)
           ^
  391.     CLOSE_READER(re, s)
  392.     return tmp;

libavcodec/get_bits.h:391:5: 
  389.     tmp= SHOW_UBITS(re, s, n);
  390.     LAST_SKIP_BITS(re, s, n)
  391.     CLOSE_READER(re, s)
           ^
  392.     return tmp;
  393. }

libavcodec/get_bits.h:392:5: 
  390.     LAST_SKIP_BITS(re, s, n)
  391.     CLOSE_READER(re, s)
  392.     return tmp;
           ^
  393. }
  394. 

libavcodec/get_bits.h:393:1: return from a call to get_bits
  391.     CLOSE_READER(re, s)
  392.     return tmp;
  393. }
       ^
  394. 
  395. /**

libavformat/oggparseflac.c:46:9: Taking true branch
44.     mdt = get_bits(&gb, 7);
45. 
46.     if (mdt == OGG_FLAC_METADATA_TYPE_STREAMINFO) {
            ^
47.         uint8_t *streaminfo_start = os->buf + os->pstart + 5 + 4 + 4 + 4;
48.         skip_bits_long(&gb, 4*8); /* "FLAC" */

libavformat/oggparseflac.c:47:9: 
45. 
46.     if (mdt == OGG_FLAC_METADATA_TYPE_STREAMINFO) {
47.         uint8_t *streaminfo_start = os->buf + os->pstart + 5 + 4 + 4 + 4;
            ^
48.         skip_bits_long(&gb, 4*8); /* "FLAC" */
49.         if(get_bits(&gb, 8) != 1) /* unsupported major version */

libavformat/oggparseflac.c:48:9: 
46.     if (mdt == OGG_FLAC_METADATA_TYPE_STREAMINFO) {
47.         uint8_t *streaminfo_start = os->buf + os->pstart + 5 + 4 + 4 + 4;
48.         skip_bits_long(&gb, 4*8); /* "FLAC" */
            ^
49.         if(get_bits(&gb, 8) != 1) /* unsupported major version */
50.             return -1;

libavcodec/get_bits.h:211:1: start of procedure skip_bits_long()
  209. }
  210. 
  211. static inline void skip_bits_long(GetBitContext *s, int n){
       ^
  212.     s->index += n;
  213. }

libavcodec/get_bits.h:212:5: 
  210. 
  211. static inline void skip_bits_long(GetBitContext *s, int n){
  212.     s->index += n;
           ^
  213. }
  214. 

libavcodec/get_bits.h:213:1: return from a call to skip_bits_long
  211. static inline void skip_bits_long(GetBitContext *s, int n){
  212.     s->index += n;
  213. }
       ^
  214. 
  215. #elif defined LIBMPEG2_BITSTREAM_READER

libavformat/oggparseflac.c:49:12: 
47.         uint8_t *streaminfo_start = os->buf + os->pstart + 5 + 4 + 4 + 4;
48.         skip_bits_long(&gb, 4*8); /* "FLAC" */
49.         if(get_bits(&gb, 8) != 1) /* unsupported major version */
               ^
50.             return -1;
51.         skip_bits_long(&gb, 8 + 16); /* minor version + header count */

libavcodec/get_bits.h:385:1: start of procedure get_bits()
  383.  * Note, the alt bitstream reader can read up to 25 bits, but the libmpeg2 reader can't
  384.  */
  385. static inline unsigned int get_bits(GetBitContext *s, int n){
       ^
  386.     register int tmp;
  387.     OPEN_READER(re, s)

libavcodec/get_bits.h:387:5: 
  385. static inline unsigned int get_bits(GetBitContext *s, int n){
  386.     register int tmp;
  387.     OPEN_READER(re, s)
           ^
  388.     UPDATE_CACHE(re, s)
  389.     tmp= SHOW_UBITS(re, s, n);

libavcodec/get_bits.h:388:5: 
  386.     register int tmp;
  387.     OPEN_READER(re, s)
  388.     UPDATE_CACHE(re, s)
           ^
  389.     tmp= SHOW_UBITS(re, s, n);
  390.     LAST_SKIP_BITS(re, s, n)

libavutil/bswap.h:54:1: start of procedure bswap_32()
    52. 
    53. #ifndef bswap_32
    54. static av_always_inline av_const uint32_t bswap_32(uint32_t x)
        ^
    55. {
    56.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);

libavutil/bswap.h:56:5: 
    54. static av_always_inline av_const uint32_t bswap_32(uint32_t x)
    55. {
    56.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
            ^
    57.     x= (x>>16) | (x<<16);
    58.     return x;

libavutil/bswap.h:57:5: 
    55. {
    56.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
    57.     x= (x>>16) | (x<<16);
            ^
    58.     return x;
    59. }

libavutil/bswap.h:58:5: 
    56.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
    57.     x= (x>>16) | (x<<16);
    58.     return x;
            ^
    59. }
    60. #endif

libavutil/bswap.h:59:1: return from a call to bswap_32
    57.     x= (x>>16) | (x<<16);
    58.     return x;
    59. }
        ^
    60. #endif
    61. 

libavcodec/get_bits.h:389:5: 
  387.     OPEN_READER(re, s)
  388.     UPDATE_CACHE(re, s)
  389.     tmp= SHOW_UBITS(re, s, n);
           ^
  390.     LAST_SKIP_BITS(re, s, n)
  391.     CLOSE_READER(re, s)

libavcodec/get_bits.h:390:5: 
  388.     UPDATE_CACHE(re, s)
  389.     tmp= SHOW_UBITS(re, s, n);
  390.     LAST_SKIP_BITS(re, s, n)
           ^
  391.     CLOSE_READER(re, s)
  392.     return tmp;

libavcodec/get_bits.h:391:5: 
  389.     tmp= SHOW_UBITS(re, s, n);
  390.     LAST_SKIP_BITS(re, s, n)
  391.     CLOSE_READER(re, s)
           ^
  392.     return tmp;
  393. }

libavcodec/get_bits.h:392:5: 
  390.     LAST_SKIP_BITS(re, s, n)
  391.     CLOSE_READER(re, s)
  392.     return tmp;
           ^
  393. }
  394. 

libavcodec/get_bits.h:393:1: return from a call to get_bits
  391.     CLOSE_READER(re, s)
  392.     return tmp;
  393. }
       ^
  394. 
  395. /**

libavformat/oggparseflac.c:49:12: Taking false branch
47.         uint8_t *streaminfo_start = os->buf + os->pstart + 5 + 4 + 4 + 4;
48.         skip_bits_long(&gb, 4*8); /* "FLAC" */
49.         if(get_bits(&gb, 8) != 1) /* unsupported major version */
               ^
50.             return -1;
51.         skip_bits_long(&gb, 8 + 16); /* minor version + header count */

libavformat/oggparseflac.c:51:9: 
49.         if(get_bits(&gb, 8) != 1) /* unsupported major version */
50.             return -1;
51.         skip_bits_long(&gb, 8 + 16); /* minor version + header count */
            ^
52.         skip_bits_long(&gb, 4*8); /* "fLaC" */
53. 

libavcodec/get_bits.h:211:1: start of procedure skip_bits_long()
  209. }
  210. 
  211. static inline void skip_bits_long(GetBitContext *s, int n){
       ^
  212.     s->index += n;
  213. }

libavcodec/get_bits.h:212:5: 
  210. 
  211. static inline void skip_bits_long(GetBitContext *s, int n){
  212.     s->index += n;
           ^
  213. }
  214. 

libavcodec/get_bits.h:213:1: return from a call to skip_bits_long
  211. static inline void skip_bits_long(GetBitContext *s, int n){
  212.     s->index += n;
  213. }
       ^
  214. 
  215. #elif defined LIBMPEG2_BITSTREAM_READER

libavformat/oggparseflac.c:52:9: 
50.             return -1;
51.         skip_bits_long(&gb, 8 + 16); /* minor version + header count */
52.         skip_bits_long(&gb, 4*8); /* "fLaC" */
            ^
53. 
54.         /* METADATA_BLOCK_HEADER */

libavcodec/get_bits.h:211:1: start of procedure skip_bits_long()
  209. }
  210. 
  211. static inline void skip_bits_long(GetBitContext *s, int n){
       ^
  212.     s->index += n;
  213. }

libavcodec/get_bits.h:212:5: 
  210. 
  211. static inline void skip_bits_long(GetBitContext *s, int n){
  212.     s->index += n;
           ^
  213. }
  214. 

libavcodec/get_bits.h:213:1: return from a call to skip_bits_long
  211. static inline void skip_bits_long(GetBitContext *s, int n){
  212.     s->index += n;
  213. }
       ^
  214. 
  215. #elif defined LIBMPEG2_BITSTREAM_READER

libavformat/oggparseflac.c:55:13: 
53. 
54.         /* METADATA_BLOCK_HEADER */
55.         if (get_bits_long(&gb, 32) != FLAC_STREAMINFO_SIZE)
                ^
56.             return -1;
57. 

libavcodec/get_bits.h:447:1: start of procedure get_bits_long()
  445.  * reads 0-32 bits.
  446.  */
  447. static inline unsigned int get_bits_long(GetBitContext *s, int n){
       ^
  448.     if(n<=17) return get_bits(s, n);
  449.     else{

libavcodec/get_bits.h:448:8: Taking false branch
  446.  */
  447. static inline unsigned int get_bits_long(GetBitContext *s, int n){
  448.     if(n<=17) return get_bits(s, n);
              ^
  449.     else{
  450. #ifdef ALT_BITSTREAM_READER_LE

libavcodec/get_bits.h:454:9: 
  452.         return ret | (get_bits(s, n-16) << 16);
  453. #else
  454.         int ret= get_bits(s, 16) << (n-16);
               ^
  455.         return ret | get_bits(s, n-16);
  456. #endif

libavcodec/get_bits.h:385:1: start of procedure get_bits()
    383.  * Note, the alt bitstream reader can read up to 25 bits, but the libmpeg2 reader can't
    384.  */
    385. static inline unsigned int get_bits(GetBitContext *s, int n){
         ^
    386.     register int tmp;
    387.     OPEN_READER(re, s)

libavcodec/get_bits.h:387:5: 
    385. static inline unsigned int get_bits(GetBitContext *s, int n){
    386.     register int tmp;
    387.     OPEN_READER(re, s)
             ^
    388.     UPDATE_CACHE(re, s)
    389.     tmp= SHOW_UBITS(re, s, n);

libavcodec/get_bits.h:388:5: 
    386.     register int tmp;
    387.     OPEN_READER(re, s)
    388.     UPDATE_CACHE(re, s)
             ^
    389.     tmp= SHOW_UBITS(re, s, n);
    390.     LAST_SKIP_BITS(re, s, n)

libavutil/bswap.h:54:1: start of procedure bswap_32()
      52. 
      53. #ifndef bswap_32
      54. static av_always_inline av_const uint32_t bswap_32(uint32_t x)
          ^
      55. {
      56.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);

libavutil/bswap.h:56:5: 
      54. static av_always_inline av_const uint32_t bswap_32(uint32_t x)
      55. {
      56.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
              ^
      57.     x= (x>>16) | (x<<16);
      58.     return x;

libavutil/bswap.h:57:5: 
      55. {
      56.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
      57.     x= (x>>16) | (x<<16);
              ^
      58.     return x;
      59. }

libavutil/bswap.h:58:5: 
      56.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
      57.     x= (x>>16) | (x<<16);
      58.     return x;
              ^
      59. }
      60. #endif

libavutil/bswap.h:59:1: return from a call to bswap_32
      57.     x= (x>>16) | (x<<16);
      58.     return x;
      59. }
          ^
      60. #endif
      61. 

libavcodec/get_bits.h:389:5: 
    387.     OPEN_READER(re, s)
    388.     UPDATE_CACHE(re, s)
    389.     tmp= SHOW_UBITS(re, s, n);
             ^
    390.     LAST_SKIP_BITS(re, s, n)
    391.     CLOSE_READER(re, s)

libavcodec/get_bits.h:390:5: 
    388.     UPDATE_CACHE(re, s)
    389.     tmp= SHOW_UBITS(re, s, n);
    390.     LAST_SKIP_BITS(re, s, n)
             ^
    391.     CLOSE_READER(re, s)
    392.     return tmp;

libavcodec/get_bits.h:391:5: 
    389.     tmp= SHOW_UBITS(re, s, n);
    390.     LAST_SKIP_BITS(re, s, n)
    391.     CLOSE_READER(re, s)
             ^
    392.     return tmp;
    393. }

libavcodec/get_bits.h:392:5: 
    390.     LAST_SKIP_BITS(re, s, n)
    391.     CLOSE_READER(re, s)
    392.     return tmp;
             ^
    393. }
    394. 

libavcodec/get_bits.h:393:1: return from a call to get_bits
    391.     CLOSE_READER(re, s)
    392.     return tmp;
    393. }
         ^
    394. 
    395. /**

libavcodec/get_bits.h:455:9: 
  453. #else
  454.         int ret= get_bits(s, 16) << (n-16);
  455.         return ret | get_bits(s, n-16);
               ^
  456. #endif
  457.     }

libavcodec/get_bits.h:385:1: start of procedure get_bits()
    383.  * Note, the alt bitstream reader can read up to 25 bits, but the libmpeg2 reader can't
    384.  */
    385. static inline unsigned int get_bits(GetBitContext *s, int n){
         ^
    386.     register int tmp;
    387.     OPEN_READER(re, s)

libavcodec/get_bits.h:387:5: 
    385. static inline unsigned int get_bits(GetBitContext *s, int n){
    386.     register int tmp;
    387.     OPEN_READER(re, s)
             ^
    388.     UPDATE_CACHE(re, s)
    389.     tmp= SHOW_UBITS(re, s, n);

libavcodec/get_bits.h:388:5: 
    386.     register int tmp;
    387.     OPEN_READER(re, s)
    388.     UPDATE_CACHE(re, s)
             ^
    389.     tmp= SHOW_UBITS(re, s, n);
    390.     LAST_SKIP_BITS(re, s, n)

libavutil/bswap.h:54:1: start of procedure bswap_32()
      52. 
      53. #ifndef bswap_32
      54. static av_always_inline av_const uint32_t bswap_32(uint32_t x)
          ^
      55. {
      56.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);

libavutil/bswap.h:56:5: 
      54. static av_always_inline av_const uint32_t bswap_32(uint32_t x)
      55. {
      56.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
              ^
      57.     x= (x>>16) | (x<<16);
      58.     return x;

libavutil/bswap.h:57:5: 
      55. {
      56.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
      57.     x= (x>>16) | (x<<16);
              ^
      58.     return x;
      59. }

libavutil/bswap.h:58:5: 
      56.     x= ((x<<8)&0xFF00FF00) | ((x>>8)&0x00FF00FF);
      57.     x= (x>>16) | (x<<16);
      58.     return x;
              ^
      59. }
      60. #endif

libavutil/bswap.h:59:1: return from a call to bswap_32
      57.     x= (x>>16) | (x<<16);
      58.     return x;
      59. }
          ^
      60. #endif
      61. 

libavcodec/get_bits.h:389:5: 
    387.     OPEN_READER(re, s)
    388.     UPDATE_CACHE(re, s)
    389.     tmp= SHOW_UBITS(re, s, n);
             ^
    390.     LAST_SKIP_BITS(re, s, n)
    391.     CLOSE_READER(re, s)

libavcodec/get_bits.h:390:5: 
    388.     UPDATE_CACHE(re, s)
    389.     tmp= SHOW_UBITS(re, s, n);
    390.     LAST_SKIP_BITS(re, s, n)
             ^
    391.     CLOSE_READER(re, s)
    392.     return tmp;

libavcodec/get_bits.h:391:5: 
    389.     tmp= SHOW_UBITS(re, s, n);
    390.     LAST_SKIP_BITS(re, s, n)
    391.     CLOSE_READER(re, s)
             ^
    392.     return tmp;
    393. }

libavcodec/get_bits.h:392:5: 
    390.     LAST_SKIP_BITS(re, s, n)
    391.     CLOSE_READER(re, s)
    392.     return tmp;
             ^
    393. }
    394. 

libavcodec/get_bits.h:393:1: return from a call to get_bits
    391.     CLOSE_READER(re, s)
    392.     return tmp;
    393. }
         ^
    394. 
    395. /**

libavcodec/get_bits.h:458:1: return from a call to get_bits_long
  456. #endif
  457.     }
  458. }
       ^
  459. 
  460. /**

libavformat/oggparseflac.c:55:13: Taking false branch
53. 
54.         /* METADATA_BLOCK_HEADER */
55.         if (get_bits_long(&gb, 32) != FLAC_STREAMINFO_SIZE)
                ^
56.             return -1;
57. 

libavformat/oggparseflac.c:58:9: Skipping ff_flac_parse_streaminfo(): empty list of specs
56.             return -1;
57. 
58.         ff_flac_parse_streaminfo(st->codec, &si, streaminfo_start);
            ^
59. 
60.         st->codec->codec_type = CODEC_TYPE_AUDIO;

libavformat/oggparseflac.c:60:9: 
58.         ff_flac_parse_streaminfo(st->codec, &si, streaminfo_start);
59. 
60.         st->codec->codec_type = CODEC_TYPE_AUDIO;
            ^
61.         st->codec->codec_id = CODEC_ID_FLAC;
62. 

libavformat/oggparseflac.c:61:9: 
59. 
60.         st->codec->codec_type = CODEC_TYPE_AUDIO;
61.         st->codec->codec_id = CODEC_ID_FLAC;
            ^
62. 
63.         st->codec->extradata =

libavformat/oggparseflac.c:63:9: 
61.         st->codec->codec_id = CODEC_ID_FLAC;
62. 
63.         st->codec->extradata =
            ^
64.             av_malloc(FLAC_STREAMINFO_SIZE + FF_INPUT_BUFFER_PADDING_SIZE);
65.         memcpy(st->codec->extradata, streaminfo_start, FLAC_STREAMINFO_SIZE);

libavutil/mem.c:47:1: start of procedure av_malloc()
  45.    linker will do it automatically. */
  46. 
  47. void *av_malloc(unsigned int size)
      ^
  48. {
  49.     void *ptr = NULL;

libavutil/mem.c:49:5: 
  47. void *av_malloc(unsigned int size)
  48. {
  49.     void *ptr = NULL;
          ^
  50. #if CONFIG_MEMALIGN_HACK
  51.     long diff;

libavutil/mem.c:55:8: Taking false branch
  53. 
  54.     /* let's disallow possible ambiguous cases */
  55.     if(size > (INT_MAX-16) )
             ^
  56.         return NULL;
  57. 

libavutil/mem.c:66:9: Taking true branch
  64.     ((char*)ptr)[-1]= diff;
  65. #elif HAVE_POSIX_MEMALIGN
  66.     if (posix_memalign(&ptr,16,size))
              ^
  67.         ptr = NULL;
  68. #elif HAVE_MEMALIGN

libavutil/mem.c:67:9: 
  65. #elif HAVE_POSIX_MEMALIGN
  66.     if (posix_memalign(&ptr,16,size))
  67.         ptr = NULL;
              ^
  68. #elif HAVE_MEMALIGN
  69.     ptr = memalign(16,size);

libavutil/mem.c:99:5: 
   97.     ptr = malloc(size);
   98. #endif
   99.     return ptr;
           ^
  100. }
  101. 

libavutil/mem.c:100:1: return from a call to av_malloc
   98. #endif
   99.     return ptr;
  100. }
       ^
  101. 
  102. void *av_realloc(void *ptr, unsigned int size)

libavformat/oggparseflac.c:65:9: 
63.         st->codec->extradata =
64.             av_malloc(FLAC_STREAMINFO_SIZE + FF_INPUT_BUFFER_PADDING_SIZE);
65.         memcpy(st->codec->extradata, streaminfo_start, FLAC_STREAMINFO_SIZE);
            ^
66.         st->codec->extradata_size = FLAC_STREAMINFO_SIZE;
67. 
