avconv.c:3463: error: Null Dereference
  pointer `st` last assigned on line 3449 could be null and is dereferenced at line 3463, column 9.

avconv.c:3446:1: start of procedure new_output_stream()
3444. }
3445. 
3446. static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, enum AVMediaType type)
      ^
3447. {
3448.     OutputStream *ost;

avconv.c:3449:5: 
3447. {
3448.     OutputStream *ost;
3449.     AVStream *st = avformat_new_stream(oc, NULL);
          ^
3450.     int idx      = oc->nb_streams - 1, ret = 0;
3451.     char *bsf = NULL, *next, *codec_tag = NULL;

libavformat/utils.c:2761:1: start of procedure avformat_new_stream()
  2759. #endif
  2760. 
  2761. AVStream *avformat_new_stream(AVFormatContext *s, AVCodec *c)
        ^
  2762. {
  2763.     AVStream *st;

libavformat/utils.c:2767:9: Taking true branch
  2765.     AVStream **streams;
  2766. 
  2767.     if (s->nb_streams >= INT_MAX/sizeof(*streams))
                ^
  2768.         return NULL;
  2769.     streams = av_realloc(s->streams, (s->nb_streams + 1) * sizeof(*streams));

libavformat/utils.c:2768:9: 
  2766. 
  2767.     if (s->nb_streams >= INT_MAX/sizeof(*streams))
  2768.         return NULL;
                ^
  2769.     streams = av_realloc(s->streams, (s->nb_streams + 1) * sizeof(*streams));
  2770.     if (!streams)

libavformat/utils.c:2809:1: return from a call to avformat_new_stream
  2807.     s->streams[s->nb_streams++] = st;
  2808.     return st;
  2809. }
        ^
  2810. 
  2811. AVProgram *av_new_program(AVFormatContext *ac, int id)

avconv.c:3450:5: 
3448.     OutputStream *ost;
3449.     AVStream *st = avformat_new_stream(oc, NULL);
3450.     int idx      = oc->nb_streams - 1, ret = 0;
          ^
3451.     char *bsf = NULL, *next, *codec_tag = NULL;
3452.     AVBitStreamFilterContext *bsfc, *bsfc_prev = NULL;

avconv.c:3451:5: 
3449.     AVStream *st = avformat_new_stream(oc, NULL);
3450.     int idx      = oc->nb_streams - 1, ret = 0;
3451.     char *bsf = NULL, *next, *codec_tag = NULL;
          ^
3452.     AVBitStreamFilterContext *bsfc, *bsfc_prev = NULL;
3453.     double qscale = -1;

avconv.c:3452:5: 
3450.     int idx      = oc->nb_streams - 1, ret = 0;
3451.     char *bsf = NULL, *next, *codec_tag = NULL;
3452.     AVBitStreamFilterContext *bsfc, *bsfc_prev = NULL;
          ^
3453.     double qscale = -1;
3454.     char *buf = NULL, *arg = NULL, *preset = NULL;

avconv.c:3453:5: 
3451.     char *bsf = NULL, *next, *codec_tag = NULL;
3452.     AVBitStreamFilterContext *bsfc, *bsfc_prev = NULL;
3453.     double qscale = -1;
          ^
3454.     char *buf = NULL, *arg = NULL, *preset = NULL;
3455.     AVIOContext *s = NULL;

avconv.c:3454:5: 
3452.     AVBitStreamFilterContext *bsfc, *bsfc_prev = NULL;
3453.     double qscale = -1;
3454.     char *buf = NULL, *arg = NULL, *preset = NULL;
          ^
3455.     AVIOContext *s = NULL;
3456. 

avconv.c:3455:5: 
3453.     double qscale = -1;
3454.     char *buf = NULL, *arg = NULL, *preset = NULL;
3455.     AVIOContext *s = NULL;
          ^
3456. 
3457.     if (!st) {

avconv.c:3457:10: Taking true branch
3455.     AVIOContext *s = NULL;
3456. 
3457.     if (!st) {
               ^
3458.         av_log(NULL, AV_LOG_FATAL, "Could not alloc stream.\n");
3459.         exit_program(1);

avconv.c:3458:9: Skipping av_log(): empty list of specs
3456. 
3457.     if (!st) {
3458.         av_log(NULL, AV_LOG_FATAL, "Could not alloc stream.\n");
              ^
3459.         exit_program(1);
3460.     }

avconv.c:3459:9: Skipping exit_program(): empty list of specs
3457.     if (!st) {
3458.         av_log(NULL, AV_LOG_FATAL, "Could not alloc stream.\n");
3459.         exit_program(1);
              ^
3460.     }
3461. 

avconv.c:3462:9: Taking true branch
3460.     }
3461. 
3462.     if (oc->nb_streams - 1 < o->nb_streamid_map)
              ^
3463.         st->id = o->streamid_map[oc->nb_streams - 1];
3464. 

avconv.c:3463:9: 
3461. 
3462.     if (oc->nb_streams - 1 < o->nb_streamid_map)
3463.         st->id = o->streamid_map[oc->nb_streams - 1];
              ^
3464. 
3465.     output_streams = grow_array(output_streams, sizeof(*output_streams), &nb_output_streams,
