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

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

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

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

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

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

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

libavcodec/get_bits.h:343:1: start of procedure init_get_bits()
  341.  * @param bit_size the size of the buffer in bits
  342.  */
  343. static inline void init_get_bits(GetBitContext *s, const uint8_t *buffer,
       ^
  344.                                  int bit_size)
  345. {

libavcodec/get_bits.h:346:5: 
  344.                                  int bit_size)
  345. {
  346.     int buffer_size = (bit_size+7)>>3;
           ^
  347.     if (buffer_size < 0 || bit_size < 0) {
  348.         buffer_size = bit_size = 0;

libavcodec/get_bits.h:347:9: Taking false branch
  345. {
  346.     int buffer_size = (bit_size+7)>>3;
  347.     if (buffer_size < 0 || bit_size < 0) {
               ^
  348.         buffer_size = bit_size = 0;
  349.         buffer = NULL;

libavcodec/get_bits.h:347:28: Taking false branch
  345. {
  346.     int buffer_size = (bit_size+7)>>3;
  347.     if (buffer_size < 0 || bit_size < 0) {
                                  ^
  348.         buffer_size = bit_size = 0;
  349.         buffer = NULL;

libavcodec/get_bits.h:352:5: 
  350.     }
  351. 
  352.     s->buffer       = buffer;
           ^
  353.     s->size_in_bits = bit_size;
  354. #if !UNCHECKED_BITSTREAM_READER

libavcodec/get_bits.h:353:5: 
  351. 
  352.     s->buffer       = buffer;
  353.     s->size_in_bits = bit_size;
           ^
  354. #if !UNCHECKED_BITSTREAM_READER
  355.     s->size_in_bits_plus8 = bit_size + 8;

libavcodec/get_bits.h:355:5: 
  353.     s->size_in_bits = bit_size;
  354. #if !UNCHECKED_BITSTREAM_READER
  355.     s->size_in_bits_plus8 = bit_size + 8;
           ^
  356. #endif
  357.     s->buffer_end   = buffer + buffer_size;

libavcodec/get_bits.h:357:5: 
  355.     s->size_in_bits_plus8 = bit_size + 8;
  356. #endif
  357.     s->buffer_end   = buffer + buffer_size;
           ^
  358.     s->index        = 0;
  359. }

libavcodec/get_bits.h:358:5: 
  356. #endif
  357.     s->buffer_end   = buffer + buffer_size;
  358.     s->index        = 0;
           ^
  359. }
  360. 

libavcodec/get_bits.h:359:1: return from a call to init_get_bits
  357.     s->buffer_end   = buffer + buffer_size;
  358.     s->index        = 0;
  359. }
       ^
  360. 
  361. static inline void align_get_bits(GetBitContext *s)

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

libavcodec/get_bits.h:284:1: start of procedure skip_bits1()
  282. }
  283. 
  284. static inline void skip_bits1(GetBitContext *s)
       ^
  285. {
  286.     skip_bits(s, 1);

libavcodec/get_bits.h:286:5: 
  284. static inline void skip_bits1(GetBitContext *s)
  285. {
  286.     skip_bits(s, 1);
           ^
  287. }
  288. 

libavcodec/get_bits.h:251:1: start of procedure skip_bits()
    249. }
    250. 
    251. static inline void skip_bits(GetBitContext *s, int n)
         ^
    252. {
    253.     OPEN_READER(re, s);

libavcodec/get_bits.h:253:5: 
    251. static inline void skip_bits(GetBitContext *s, int n)
    252. {
    253.     OPEN_READER(re, s);
             ^
    254.     UPDATE_CACHE(re, s);
    255.     LAST_SKIP_BITS(re, s, n);

libavcodec/get_bits.h:254:5: 
    252. {
    253.     OPEN_READER(re, s);
    254.     UPDATE_CACHE(re, s);
             ^
    255.     LAST_SKIP_BITS(re, s, n);
    256.     CLOSE_READER(re, s);

libavutil/bswap.h:66:1: start of procedure av_bswap32()
      64. 
      65. #ifndef av_bswap32
      66. static av_always_inline av_const uint32_t av_bswap32(uint32_t x)
          ^
      67. {
      68.     return AV_BSWAP32C(x);

libavutil/bswap.h:68:5: 
      66. static av_always_inline av_const uint32_t av_bswap32(uint32_t x)
      67. {
      68.     return AV_BSWAP32C(x);
              ^
      69. }
      70. #endif

libavutil/bswap.h:69:1: return from a call to av_bswap32
      67. {
      68.     return AV_BSWAP32C(x);
      69. }
          ^
      70. #endif
      71. 

libavcodec/get_bits.h:255:5: Condition is true
    253.     OPEN_READER(re, s);
    254.     UPDATE_CACHE(re, s);
    255.     LAST_SKIP_BITS(re, s, n);
             ^
    256.     CLOSE_READER(re, s);
    257. }

libavcodec/get_bits.h:256:5: 
    254.     UPDATE_CACHE(re, s);
    255.     LAST_SKIP_BITS(re, s, n);
    256.     CLOSE_READER(re, s);
             ^
    257. }
    258. 

libavcodec/get_bits.h:257:1: return from a call to skip_bits
    255.     LAST_SKIP_BITS(re, s, n);
    256.     CLOSE_READER(re, s);
    257. }
         ^
    258. 
    259. static inline unsigned int get_bits1(GetBitContext *s)

libavcodec/get_bits.h:287:1: return from a call to skip_bits1
  285. {
  286.     skip_bits(s, 1);
  287. }
       ^
  288. 
  289. /**

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

libavcodec/get_bits.h:228:1: start of procedure get_bits()
  226.  * Read 1-25 bits.
  227.  */
  228. static inline unsigned int get_bits(GetBitContext *s, int n)
       ^
  229. {
  230.     register int tmp;

libavcodec/get_bits.h:231:5: 
  229. {
  230.     register int tmp;
  231.     OPEN_READER(re, s);
           ^
  232.     UPDATE_CACHE(re, s);
  233.     tmp = SHOW_UBITS(re, s, n);

libavcodec/get_bits.h:232:5: 
  230.     register int tmp;
  231.     OPEN_READER(re, s);
  232.     UPDATE_CACHE(re, s);
           ^
  233.     tmp = SHOW_UBITS(re, s, n);
  234.     LAST_SKIP_BITS(re, s, n);

libavutil/bswap.h:66:1: start of procedure av_bswap32()
    64. 
    65. #ifndef av_bswap32
    66. static av_always_inline av_const uint32_t av_bswap32(uint32_t x)
        ^
    67. {
    68.     return AV_BSWAP32C(x);

libavutil/bswap.h:68:5: 
    66. static av_always_inline av_const uint32_t av_bswap32(uint32_t x)
    67. {
    68.     return AV_BSWAP32C(x);
            ^
    69. }
    70. #endif

libavutil/bswap.h:69:1: return from a call to av_bswap32
    67. {
    68.     return AV_BSWAP32C(x);
    69. }
        ^
    70. #endif
    71. 

libavcodec/get_bits.h:233:5: 
  231.     OPEN_READER(re, s);
  232.     UPDATE_CACHE(re, s);
  233.     tmp = SHOW_UBITS(re, s, n);
           ^
  234.     LAST_SKIP_BITS(re, s, n);
  235.     CLOSE_READER(re, s);

libavcodec/get_bits.h:234:5: Condition is true
  232.     UPDATE_CACHE(re, s);
  233.     tmp = SHOW_UBITS(re, s, n);
  234.     LAST_SKIP_BITS(re, s, n);
           ^
  235.     CLOSE_READER(re, s);
  236.     return tmp;

libavcodec/get_bits.h:235:5: 
  233.     tmp = SHOW_UBITS(re, s, n);
  234.     LAST_SKIP_BITS(re, s, n);
  235.     CLOSE_READER(re, s);
           ^
  236.     return tmp;
  237. }

libavcodec/get_bits.h:236:5: 
  234.     LAST_SKIP_BITS(re, s, n);
  235.     CLOSE_READER(re, s);
  236.     return tmp;
           ^
  237. }
  238. 

libavcodec/get_bits.h:237:1: return from a call to get_bits
  235.     CLOSE_READER(re, s);
  236.     return tmp;
  237. }
       ^
  238. 
  239. /**

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

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

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

libavcodec/get_bits.h:188:1: start of procedure skip_bits_long()
  186. }
  187. 
  188. static inline void skip_bits_long(GetBitContext *s, int n){
       ^
  189. #if UNCHECKED_BITSTREAM_READER
  190.     s->index += n;

libavcodec/get_bits.h:190:5: 
  188. static inline void skip_bits_long(GetBitContext *s, int n){
  189. #if UNCHECKED_BITSTREAM_READER
  190.     s->index += n;
           ^
  191. #else
  192.     s->index += av_clip(n, -s->index, s->size_in_bits_plus8 - s->index);

libavcodec/get_bits.h:194:1: return from a call to skip_bits_long
  192.     s->index += av_clip(n, -s->index, s->size_in_bits_plus8 - s->index);
  193. #endif
  194. }
       ^
  195. 
  196. /**

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

libavcodec/get_bits.h:228:1: start of procedure get_bits()
  226.  * Read 1-25 bits.
  227.  */
  228. static inline unsigned int get_bits(GetBitContext *s, int n)
       ^
  229. {
  230.     register int tmp;

libavcodec/get_bits.h:231:5: 
  229. {
  230.     register int tmp;
  231.     OPEN_READER(re, s);
           ^
  232.     UPDATE_CACHE(re, s);
  233.     tmp = SHOW_UBITS(re, s, n);

libavcodec/get_bits.h:232:5: 
  230.     register int tmp;
  231.     OPEN_READER(re, s);
  232.     UPDATE_CACHE(re, s);
           ^
  233.     tmp = SHOW_UBITS(re, s, n);
  234.     LAST_SKIP_BITS(re, s, n);

libavutil/bswap.h:66:1: start of procedure av_bswap32()
    64. 
    65. #ifndef av_bswap32
    66. static av_always_inline av_const uint32_t av_bswap32(uint32_t x)
        ^
    67. {
    68.     return AV_BSWAP32C(x);

libavutil/bswap.h:68:5: 
    66. static av_always_inline av_const uint32_t av_bswap32(uint32_t x)
    67. {
    68.     return AV_BSWAP32C(x);
            ^
    69. }
    70. #endif

libavutil/bswap.h:69:1: return from a call to av_bswap32
    67. {
    68.     return AV_BSWAP32C(x);
    69. }
        ^
    70. #endif
    71. 

libavcodec/get_bits.h:233:5: 
  231.     OPEN_READER(re, s);
  232.     UPDATE_CACHE(re, s);
  233.     tmp = SHOW_UBITS(re, s, n);
           ^
  234.     LAST_SKIP_BITS(re, s, n);
  235.     CLOSE_READER(re, s);

libavcodec/get_bits.h:234:5: Condition is true
  232.     UPDATE_CACHE(re, s);
  233.     tmp = SHOW_UBITS(re, s, n);
  234.     LAST_SKIP_BITS(re, s, n);
           ^
  235.     CLOSE_READER(re, s);
  236.     return tmp;

libavcodec/get_bits.h:235:5: 
  233.     tmp = SHOW_UBITS(re, s, n);
  234.     LAST_SKIP_BITS(re, s, n);
  235.     CLOSE_READER(re, s);
           ^
  236.     return tmp;
  237. }

libavcodec/get_bits.h:236:5: 
  234.     LAST_SKIP_BITS(re, s, n);
  235.     CLOSE_READER(re, s);
  236.     return tmp;
           ^
  237. }
  238. 

libavcodec/get_bits.h:237:1: return from a call to get_bits
  235.     CLOSE_READER(re, s);
  236.     return tmp;
  237. }
       ^
  238. 
  239. /**

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

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

libavcodec/get_bits.h:188:1: start of procedure skip_bits_long()
  186. }
  187. 
  188. static inline void skip_bits_long(GetBitContext *s, int n){
       ^
  189. #if UNCHECKED_BITSTREAM_READER
  190.     s->index += n;

libavcodec/get_bits.h:190:5: 
  188. static inline void skip_bits_long(GetBitContext *s, int n){
  189. #if UNCHECKED_BITSTREAM_READER
  190.     s->index += n;
           ^
  191. #else
  192.     s->index += av_clip(n, -s->index, s->size_in_bits_plus8 - s->index);

libavcodec/get_bits.h:194:1: return from a call to skip_bits_long
  192.     s->index += av_clip(n, -s->index, s->size_in_bits_plus8 - s->index);
  193. #endif
  194. }
       ^
  195. 
  196. /**

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

libavcodec/get_bits.h:188:1: start of procedure skip_bits_long()
  186. }
  187. 
  188. static inline void skip_bits_long(GetBitContext *s, int n){
       ^
  189. #if UNCHECKED_BITSTREAM_READER
  190.     s->index += n;

libavcodec/get_bits.h:190:5: 
  188. static inline void skip_bits_long(GetBitContext *s, int n){
  189. #if UNCHECKED_BITSTREAM_READER
  190.     s->index += n;
           ^
  191. #else
  192.     s->index += av_clip(n, -s->index, s->size_in_bits_plus8 - s->index);

libavcodec/get_bits.h:194:1: return from a call to skip_bits_long
  192.     s->index += av_clip(n, -s->index, s->size_in_bits_plus8 - s->index);
  193. #endif
  194. }
       ^
  195. 
  196. /**

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

libavcodec/get_bits.h:292:1: start of procedure get_bits_long()
  290.  * Read 0-32 bits.
  291.  */
  292. static inline unsigned int get_bits_long(GetBitContext *s, int n)
       ^
  293. {
  294.     if (n <= MIN_CACHE_BITS)

libavcodec/get_bits.h:294:9: Taking false branch
  292. static inline unsigned int get_bits_long(GetBitContext *s, int n)
  293. {
  294.     if (n <= MIN_CACHE_BITS)
               ^
  295.         return get_bits(s, n);
  296.     else {

libavcodec/get_bits.h:301:9: 
  299.         return ret | (get_bits(s, n-16) << 16);
  300. #else
  301.         int ret = get_bits(s, 16) << (n-16);
               ^
  302.         return ret | get_bits(s, n-16);
  303. #endif

libavcodec/get_bits.h:228:1: start of procedure get_bits()
    226.  * Read 1-25 bits.
    227.  */
    228. static inline unsigned int get_bits(GetBitContext *s, int n)
         ^
    229. {
    230.     register int tmp;

libavcodec/get_bits.h:231:5: 
    229. {
    230.     register int tmp;
    231.     OPEN_READER(re, s);
             ^
    232.     UPDATE_CACHE(re, s);
    233.     tmp = SHOW_UBITS(re, s, n);

libavcodec/get_bits.h:232:5: 
    230.     register int tmp;
    231.     OPEN_READER(re, s);
    232.     UPDATE_CACHE(re, s);
             ^
    233.     tmp = SHOW_UBITS(re, s, n);
    234.     LAST_SKIP_BITS(re, s, n);

libavutil/bswap.h:66:1: start of procedure av_bswap32()
      64. 
      65. #ifndef av_bswap32
      66. static av_always_inline av_const uint32_t av_bswap32(uint32_t x)
          ^
      67. {
      68.     return AV_BSWAP32C(x);

libavutil/bswap.h:68:5: 
      66. static av_always_inline av_const uint32_t av_bswap32(uint32_t x)
      67. {
      68.     return AV_BSWAP32C(x);
              ^
      69. }
      70. #endif

libavutil/bswap.h:69:1: return from a call to av_bswap32
      67. {
      68.     return AV_BSWAP32C(x);
      69. }
          ^
      70. #endif
      71. 

libavcodec/get_bits.h:233:5: 
    231.     OPEN_READER(re, s);
    232.     UPDATE_CACHE(re, s);
    233.     tmp = SHOW_UBITS(re, s, n);
             ^
    234.     LAST_SKIP_BITS(re, s, n);
    235.     CLOSE_READER(re, s);

libavcodec/get_bits.h:234:5: Condition is true
    232.     UPDATE_CACHE(re, s);
    233.     tmp = SHOW_UBITS(re, s, n);
    234.     LAST_SKIP_BITS(re, s, n);
             ^
    235.     CLOSE_READER(re, s);
    236.     return tmp;

libavcodec/get_bits.h:235:5: 
    233.     tmp = SHOW_UBITS(re, s, n);
    234.     LAST_SKIP_BITS(re, s, n);
    235.     CLOSE_READER(re, s);
             ^
    236.     return tmp;
    237. }

libavcodec/get_bits.h:236:5: 
    234.     LAST_SKIP_BITS(re, s, n);
    235.     CLOSE_READER(re, s);
    236.     return tmp;
             ^
    237. }
    238. 

libavcodec/get_bits.h:237:1: return from a call to get_bits
    235.     CLOSE_READER(re, s);
    236.     return tmp;
    237. }
         ^
    238. 
    239. /**

libavcodec/get_bits.h:302:9: 
  300. #else
  301.         int ret = get_bits(s, 16) << (n-16);
  302.         return ret | get_bits(s, n-16);
               ^
  303. #endif
  304.     }

libavcodec/get_bits.h:228:1: start of procedure get_bits()
    226.  * Read 1-25 bits.
    227.  */
    228. static inline unsigned int get_bits(GetBitContext *s, int n)
         ^
    229. {
    230.     register int tmp;

libavcodec/get_bits.h:231:5: 
    229. {
    230.     register int tmp;
    231.     OPEN_READER(re, s);
             ^
    232.     UPDATE_CACHE(re, s);
    233.     tmp = SHOW_UBITS(re, s, n);

libavcodec/get_bits.h:232:5: 
    230.     register int tmp;
    231.     OPEN_READER(re, s);
    232.     UPDATE_CACHE(re, s);
             ^
    233.     tmp = SHOW_UBITS(re, s, n);
    234.     LAST_SKIP_BITS(re, s, n);

libavutil/bswap.h:66:1: start of procedure av_bswap32()
      64. 
      65. #ifndef av_bswap32
      66. static av_always_inline av_const uint32_t av_bswap32(uint32_t x)
          ^
      67. {
      68.     return AV_BSWAP32C(x);

libavutil/bswap.h:68:5: 
      66. static av_always_inline av_const uint32_t av_bswap32(uint32_t x)
      67. {
      68.     return AV_BSWAP32C(x);
              ^
      69. }
      70. #endif

libavutil/bswap.h:69:1: return from a call to av_bswap32
      67. {
      68.     return AV_BSWAP32C(x);
      69. }
          ^
      70. #endif
      71. 

libavcodec/get_bits.h:233:5: 
    231.     OPEN_READER(re, s);
    232.     UPDATE_CACHE(re, s);
    233.     tmp = SHOW_UBITS(re, s, n);
             ^
    234.     LAST_SKIP_BITS(re, s, n);
    235.     CLOSE_READER(re, s);

libavcodec/get_bits.h:234:5: Condition is true
    232.     UPDATE_CACHE(re, s);
    233.     tmp = SHOW_UBITS(re, s, n);
    234.     LAST_SKIP_BITS(re, s, n);
             ^
    235.     CLOSE_READER(re, s);
    236.     return tmp;

libavcodec/get_bits.h:235:5: 
    233.     tmp = SHOW_UBITS(re, s, n);
    234.     LAST_SKIP_BITS(re, s, n);
    235.     CLOSE_READER(re, s);
             ^
    236.     return tmp;
    237. }

libavcodec/get_bits.h:236:5: 
    234.     LAST_SKIP_BITS(re, s, n);
    235.     CLOSE_READER(re, s);
    236.     return tmp;
             ^
    237. }
    238. 

libavcodec/get_bits.h:237:1: return from a call to get_bits
    235.     CLOSE_READER(re, s);
    236.     return tmp;
    237. }
         ^
    238. 
    239. /**

libavcodec/get_bits.h:305:1: return from a call to get_bits_long
  303. #endif
  304.     }
  305. }
       ^
  306. 
  307. /**

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

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

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

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

libavformat/oggparseflac.c:64:9: 
62.         st->codec->codec_id = CODEC_ID_FLAC;
63. 
64.         st->codec->extradata =
            ^
65.             av_malloc(FLAC_STREAMINFO_SIZE + FF_INPUT_BUFFER_PADDING_SIZE);
66.         memcpy(st->codec->extradata, streaminfo_start, FLAC_STREAMINFO_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 false branch
  70. 
  71.     /* let's disallow possible ambiguous cases */
  72.     if(size > (INT_MAX-32) )
             ^
  73.         return NULL;
  74. 

libavutil/mem.c:83:9: Taking true branch
  81.     ((char*)ptr)[-1]= diff;
  82. #elif HAVE_POSIX_MEMALIGN
  83.     if (posix_memalign(&ptr,32,size))
              ^
  84.         ptr = NULL;
  85. #elif HAVE_MEMALIGN

libavutil/mem.c:84:9: 
  82. #elif HAVE_POSIX_MEMALIGN
  83.     if (posix_memalign(&ptr,32,size))
  84.         ptr = NULL;
              ^
  85. #elif HAVE_MEMALIGN
  86.     ptr = memalign(32,size);

libavutil/mem.c:114:5: 
  112.     ptr = malloc(size);
  113. #endif
  114.     return ptr;
           ^
  115. }
  116. 

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)

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