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:306:1: start of procedure init_get_bits()
  304.  * responsible for checking for the buffer end yourself (take advantage of the padding)!
  305.  */
  306. static inline void init_get_bits(GetBitContext *s,
       ^
  307.                    const uint8_t *buffer, int bit_size)
  308. {

libavcodec/get_bits.h:309:5: 
  307.                    const uint8_t *buffer, int bit_size)
  308. {
  309.     int buffer_size = (bit_size+7)>>3;
           ^
  310.     if (buffer_size < 0 || bit_size < 0) {
  311.         buffer_size = bit_size = 0;

libavcodec/get_bits.h:310:9: Taking false branch
  308. {
  309.     int buffer_size = (bit_size+7)>>3;
  310.     if (buffer_size < 0 || bit_size < 0) {
               ^
  311.         buffer_size = bit_size = 0;
  312.         buffer = NULL;

libavcodec/get_bits.h:310:28: Taking false branch
  308. {
  309.     int buffer_size = (bit_size+7)>>3;
  310.     if (buffer_size < 0 || bit_size < 0) {
                                  ^
  311.         buffer_size = bit_size = 0;
  312.         buffer = NULL;

libavcodec/get_bits.h:315:5: 
  313.     }
  314. 
  315.     s->buffer       = buffer;
           ^
  316.     s->size_in_bits = bit_size;
  317.     s->buffer_end   = buffer + buffer_size;

libavcodec/get_bits.h:316:5: 
  314. 
  315.     s->buffer       = buffer;
  316.     s->size_in_bits = bit_size;
           ^
  317.     s->buffer_end   = buffer + buffer_size;
  318.     s->index        = 0;

libavcodec/get_bits.h:317:5: 
  315.     s->buffer       = buffer;
  316.     s->size_in_bits = bit_size;
  317.     s->buffer_end   = buffer + buffer_size;
           ^
  318.     s->index        = 0;
  319. }

libavcodec/get_bits.h:318:5: 
  316.     s->size_in_bits = bit_size;
  317.     s->buffer_end   = buffer + buffer_size;
  318.     s->index        = 0;
           ^
  319. }
  320. 

libavcodec/get_bits.h:319:1: return from a call to init_get_bits
  317.     s->buffer_end   = buffer + buffer_size;
  318.     s->index        = 0;
  319. }
       ^
  320. 
  321. 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:250:1: start of procedure skip_bits1()
  248. }
  249. 
  250. static inline void skip_bits1(GetBitContext *s){
       ^
  251.     skip_bits(s, 1);
  252. }

libavcodec/get_bits.h:251:5: 
  249. 
  250. static inline void skip_bits1(GetBitContext *s){
  251.     skip_bits(s, 1);
           ^
  252. }
  253. 

libavcodec/get_bits.h:222:1: start of procedure skip_bits()
    220. }
    221. 
    222. static inline void skip_bits(GetBitContext *s, int n){
         ^
    223.  //Note gcc seems to optimize this to s->index+=n for the ALT_READER :))
    224.     OPEN_READER(re, s);

libavcodec/get_bits.h:224:5: 
    222. static inline void skip_bits(GetBitContext *s, int n){
    223.  //Note gcc seems to optimize this to s->index+=n for the ALT_READER :))
    224.     OPEN_READER(re, s);
             ^
    225.     UPDATE_CACHE(re, s);
    226.     LAST_SKIP_BITS(re, s, n);

libavcodec/get_bits.h:225:5: 
    223.  //Note gcc seems to optimize this to s->index+=n for the ALT_READER :))
    224.     OPEN_READER(re, s);
    225.     UPDATE_CACHE(re, s);
             ^
    226.     LAST_SKIP_BITS(re, s, n);
    227.     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:226:5: 
    224.     OPEN_READER(re, s);
    225.     UPDATE_CACHE(re, s);
    226.     LAST_SKIP_BITS(re, s, n);
             ^
    227.     CLOSE_READER(re, s);
    228. }

libavcodec/get_bits.h:227:5: 
    225.     UPDATE_CACHE(re, s);
    226.     LAST_SKIP_BITS(re, s, n);
    227.     CLOSE_READER(re, s);
             ^
    228. }
    229. 

libavcodec/get_bits.h:228:1: return from a call to skip_bits
    226.     LAST_SKIP_BITS(re, s, n);
    227.     CLOSE_READER(re, s);
    228. }
         ^
    229. 
    230. static inline unsigned int get_bits1(GetBitContext *s){

libavcodec/get_bits.h:252:1: return from a call to skip_bits1
  250. static inline void skip_bits1(GetBitContext *s){
  251.     skip_bits(s, 1);
  252. }
       ^
  253. 
  254. /**

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:201:1: start of procedure get_bits()
  199.  * Read 1-25 bits.
  200.  */
  201. static inline unsigned int get_bits(GetBitContext *s, int n){
       ^
  202.     register int tmp;
  203.     OPEN_READER(re, s);

libavcodec/get_bits.h:203:5: 
  201. static inline unsigned int get_bits(GetBitContext *s, int n){
  202.     register int tmp;
  203.     OPEN_READER(re, s);
           ^
  204.     UPDATE_CACHE(re, s);
  205.     tmp = SHOW_UBITS(re, s, n);

libavcodec/get_bits.h:204:5: 
  202.     register int tmp;
  203.     OPEN_READER(re, s);
  204.     UPDATE_CACHE(re, s);
           ^
  205.     tmp = SHOW_UBITS(re, s, n);
  206.     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:205:5: 
  203.     OPEN_READER(re, s);
  204.     UPDATE_CACHE(re, s);
  205.     tmp = SHOW_UBITS(re, s, n);
           ^
  206.     LAST_SKIP_BITS(re, s, n);
  207.     CLOSE_READER(re, s);

libavcodec/get_bits.h:206:5: 
  204.     UPDATE_CACHE(re, s);
  205.     tmp = SHOW_UBITS(re, s, n);
  206.     LAST_SKIP_BITS(re, s, n);
           ^
  207.     CLOSE_READER(re, s);
  208.     return tmp;

libavcodec/get_bits.h:207:5: 
  205.     tmp = SHOW_UBITS(re, s, n);
  206.     LAST_SKIP_BITS(re, s, n);
  207.     CLOSE_READER(re, s);
           ^
  208.     return tmp;
  209. }

libavcodec/get_bits.h:208:5: 
  206.     LAST_SKIP_BITS(re, s, n);
  207.     CLOSE_READER(re, s);
  208.     return tmp;
           ^
  209. }
  210. 

libavcodec/get_bits.h:209:1: return from a call to get_bits
  207.     CLOSE_READER(re, s);
  208.     return tmp;
  209. }
       ^
  210. 
  211. /**

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:166:1: start of procedure skip_bits_long()
  164. }
  165. 
  166. static inline void skip_bits_long(GetBitContext *s, int n){
       ^
  167.     s->index += n;
  168. }

libavcodec/get_bits.h:167:5: 
  165. 
  166. static inline void skip_bits_long(GetBitContext *s, int n){
  167.     s->index += n;
           ^
  168. }
  169. 

libavcodec/get_bits.h:168:1: return from a call to skip_bits_long
  166. static inline void skip_bits_long(GetBitContext *s, int n){
  167.     s->index += n;
  168. }
       ^
  169. 
  170. /**

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:201:1: start of procedure get_bits()
  199.  * Read 1-25 bits.
  200.  */
  201. static inline unsigned int get_bits(GetBitContext *s, int n){
       ^
  202.     register int tmp;
  203.     OPEN_READER(re, s);

libavcodec/get_bits.h:203:5: 
  201. static inline unsigned int get_bits(GetBitContext *s, int n){
  202.     register int tmp;
  203.     OPEN_READER(re, s);
           ^
  204.     UPDATE_CACHE(re, s);
  205.     tmp = SHOW_UBITS(re, s, n);

libavcodec/get_bits.h:204:5: 
  202.     register int tmp;
  203.     OPEN_READER(re, s);
  204.     UPDATE_CACHE(re, s);
           ^
  205.     tmp = SHOW_UBITS(re, s, n);
  206.     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:205:5: 
  203.     OPEN_READER(re, s);
  204.     UPDATE_CACHE(re, s);
  205.     tmp = SHOW_UBITS(re, s, n);
           ^
  206.     LAST_SKIP_BITS(re, s, n);
  207.     CLOSE_READER(re, s);

libavcodec/get_bits.h:206:5: 
  204.     UPDATE_CACHE(re, s);
  205.     tmp = SHOW_UBITS(re, s, n);
  206.     LAST_SKIP_BITS(re, s, n);
           ^
  207.     CLOSE_READER(re, s);
  208.     return tmp;

libavcodec/get_bits.h:207:5: 
  205.     tmp = SHOW_UBITS(re, s, n);
  206.     LAST_SKIP_BITS(re, s, n);
  207.     CLOSE_READER(re, s);
           ^
  208.     return tmp;
  209. }

libavcodec/get_bits.h:208:5: 
  206.     LAST_SKIP_BITS(re, s, n);
  207.     CLOSE_READER(re, s);
  208.     return tmp;
           ^
  209. }
  210. 

libavcodec/get_bits.h:209:1: return from a call to get_bits
  207.     CLOSE_READER(re, s);
  208.     return tmp;
  209. }
       ^
  210. 
  211. /**

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:166:1: start of procedure skip_bits_long()
  164. }
  165. 
  166. static inline void skip_bits_long(GetBitContext *s, int n){
       ^
  167.     s->index += n;
  168. }

libavcodec/get_bits.h:167:5: 
  165. 
  166. static inline void skip_bits_long(GetBitContext *s, int n){
  167.     s->index += n;
           ^
  168. }
  169. 

libavcodec/get_bits.h:168:1: return from a call to skip_bits_long
  166. static inline void skip_bits_long(GetBitContext *s, int n){
  167.     s->index += n;
  168. }
       ^
  169. 
  170. /**

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:166:1: start of procedure skip_bits_long()
  164. }
  165. 
  166. static inline void skip_bits_long(GetBitContext *s, int n){
       ^
  167.     s->index += n;
  168. }

libavcodec/get_bits.h:167:5: 
  165. 
  166. static inline void skip_bits_long(GetBitContext *s, int n){
  167.     s->index += n;
           ^
  168. }
  169. 

libavcodec/get_bits.h:168:1: return from a call to skip_bits_long
  166. static inline void skip_bits_long(GetBitContext *s, int n){
  167.     s->index += n;
  168. }
       ^
  169. 
  170. /**

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:257:1: start of procedure get_bits_long()
  255.  * Read 0-32 bits.
  256.  */
  257. static inline unsigned int get_bits_long(GetBitContext *s, int n){
       ^
  258.     if (n <= MIN_CACHE_BITS) return get_bits(s, n);
  259.     else {

libavcodec/get_bits.h:258:9: Taking false branch
  256.  */
  257. static inline unsigned int get_bits_long(GetBitContext *s, int n){
  258.     if (n <= MIN_CACHE_BITS) return get_bits(s, n);
               ^
  259.     else {
  260. #ifdef ALT_BITSTREAM_READER_LE

libavcodec/get_bits.h:264:9: 
  262.         return ret | (get_bits(s, n-16) << 16);
  263. #else
  264.         int ret = get_bits(s, 16) << (n-16);
               ^
  265.         return ret | get_bits(s, n-16);
  266. #endif

libavcodec/get_bits.h:201:1: start of procedure get_bits()
    199.  * Read 1-25 bits.
    200.  */
    201. static inline unsigned int get_bits(GetBitContext *s, int n){
         ^
    202.     register int tmp;
    203.     OPEN_READER(re, s);

libavcodec/get_bits.h:203:5: 
    201. static inline unsigned int get_bits(GetBitContext *s, int n){
    202.     register int tmp;
    203.     OPEN_READER(re, s);
             ^
    204.     UPDATE_CACHE(re, s);
    205.     tmp = SHOW_UBITS(re, s, n);

libavcodec/get_bits.h:204:5: 
    202.     register int tmp;
    203.     OPEN_READER(re, s);
    204.     UPDATE_CACHE(re, s);
             ^
    205.     tmp = SHOW_UBITS(re, s, n);
    206.     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:205:5: 
    203.     OPEN_READER(re, s);
    204.     UPDATE_CACHE(re, s);
    205.     tmp = SHOW_UBITS(re, s, n);
             ^
    206.     LAST_SKIP_BITS(re, s, n);
    207.     CLOSE_READER(re, s);

libavcodec/get_bits.h:206:5: 
    204.     UPDATE_CACHE(re, s);
    205.     tmp = SHOW_UBITS(re, s, n);
    206.     LAST_SKIP_BITS(re, s, n);
             ^
    207.     CLOSE_READER(re, s);
    208.     return tmp;

libavcodec/get_bits.h:207:5: 
    205.     tmp = SHOW_UBITS(re, s, n);
    206.     LAST_SKIP_BITS(re, s, n);
    207.     CLOSE_READER(re, s);
             ^
    208.     return tmp;
    209. }

libavcodec/get_bits.h:208:5: 
    206.     LAST_SKIP_BITS(re, s, n);
    207.     CLOSE_READER(re, s);
    208.     return tmp;
             ^
    209. }
    210. 

libavcodec/get_bits.h:209:1: return from a call to get_bits
    207.     CLOSE_READER(re, s);
    208.     return tmp;
    209. }
         ^
    210. 
    211. /**

libavcodec/get_bits.h:265:9: 
  263. #else
  264.         int ret = get_bits(s, 16) << (n-16);
  265.         return ret | get_bits(s, n-16);
               ^
  266. #endif
  267.     }

libavcodec/get_bits.h:201:1: start of procedure get_bits()
    199.  * Read 1-25 bits.
    200.  */
    201. static inline unsigned int get_bits(GetBitContext *s, int n){
         ^
    202.     register int tmp;
    203.     OPEN_READER(re, s);

libavcodec/get_bits.h:203:5: 
    201. static inline unsigned int get_bits(GetBitContext *s, int n){
    202.     register int tmp;
    203.     OPEN_READER(re, s);
             ^
    204.     UPDATE_CACHE(re, s);
    205.     tmp = SHOW_UBITS(re, s, n);

libavcodec/get_bits.h:204:5: 
    202.     register int tmp;
    203.     OPEN_READER(re, s);
    204.     UPDATE_CACHE(re, s);
             ^
    205.     tmp = SHOW_UBITS(re, s, n);
    206.     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:205:5: 
    203.     OPEN_READER(re, s);
    204.     UPDATE_CACHE(re, s);
    205.     tmp = SHOW_UBITS(re, s, n);
             ^
    206.     LAST_SKIP_BITS(re, s, n);
    207.     CLOSE_READER(re, s);

libavcodec/get_bits.h:206:5: 
    204.     UPDATE_CACHE(re, s);
    205.     tmp = SHOW_UBITS(re, s, n);
    206.     LAST_SKIP_BITS(re, s, n);
             ^
    207.     CLOSE_READER(re, s);
    208.     return tmp;

libavcodec/get_bits.h:207:5: 
    205.     tmp = SHOW_UBITS(re, s, n);
    206.     LAST_SKIP_BITS(re, s, n);
    207.     CLOSE_READER(re, s);
             ^
    208.     return tmp;
    209. }

libavcodec/get_bits.h:208:5: 
    206.     LAST_SKIP_BITS(re, s, n);
    207.     CLOSE_READER(re, s);
    208.     return tmp;
             ^
    209. }
    210. 

libavcodec/get_bits.h:209:1: return from a call to get_bits
    207.     CLOSE_READER(re, s);
    208.     return tmp;
    209. }
         ^
    210. 
    211. /**

libavcodec/get_bits.h:268:1: return from a call to get_bits_long
  266. #endif
  267.     }
  268. }
       ^
  269. 
  270. /**

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. 
