avconv.c:3083: error: Null Dereference
  pointer `codec` last assigned on line 3076 could be null and is dereferenced at line 3083, column 9.

avconv.c:3071:1: start of procedure find_codec_or_die()
3069. }
3070. 
3071. static AVCodec *find_codec_or_die(const char *name, enum AVMediaType type, int encoder)
      ^
3072. {
3073.     const char *codec_string = encoder ? "encoder" : "decoder";

avconv.c:3073:32: Condition is true
3071. static AVCodec *find_codec_or_die(const char *name, enum AVMediaType type, int encoder)
3072. {
3073.     const char *codec_string = encoder ? "encoder" : "decoder";
                                     ^
3074.     AVCodec *codec;
3075. 

avconv.c:3073:5: 
3071. static AVCodec *find_codec_or_die(const char *name, enum AVMediaType type, int encoder)
3072. {
3073.     const char *codec_string = encoder ? "encoder" : "decoder";
          ^
3074.     AVCodec *codec;
3075. 

avconv.c:3076:13: Condition is true
3074.     AVCodec *codec;
3075. 
3076.     codec = encoder ?
                  ^
3077.         avcodec_find_encoder_by_name(name) :
3078.         avcodec_find_decoder_by_name(name);

avconv.c:3076:5: 
3074.     AVCodec *codec;
3075. 
3076.     codec = encoder ?
          ^
3077.         avcodec_find_encoder_by_name(name) :
3078.         avcodec_find_decoder_by_name(name);

avconv.c:3079:10: Taking true branch
3077.         avcodec_find_encoder_by_name(name) :
3078.         avcodec_find_decoder_by_name(name);
3079.     if (!codec) {
               ^
3080.         av_log(NULL, AV_LOG_FATAL, "Unknown %s '%s'\n", codec_string, name);
3081.         exit_program(1);

avconv.c:3080:9: Skipping av_log(): empty list of specs
3078.         avcodec_find_decoder_by_name(name);
3079.     if (!codec) {
3080.         av_log(NULL, AV_LOG_FATAL, "Unknown %s '%s'\n", codec_string, name);
              ^
3081.         exit_program(1);
3082.     }

avconv.c:3081:9: Skipping exit_program(): empty list of specs
3079.     if (!codec) {
3080.         av_log(NULL, AV_LOG_FATAL, "Unknown %s '%s'\n", codec_string, name);
3081.         exit_program(1);
              ^
3082.     }
3083.     if (codec->type != type) {

avconv.c:3083:9: 
3081.         exit_program(1);
3082.     }
3083.     if (codec->type != type) {
              ^
3084.         av_log(NULL, AV_LOG_FATAL, "Invalid %s type '%s'\n", codec_string, name);
3085.         exit_program(1);
