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

avconv.c:3098:1: start of procedure find_codec_or_die()
3096. }
3097. 
3098. static AVCodec *find_codec_or_die(const char *name, enum AVMediaType type, int encoder)
      ^
3099. {
3100.     const char *codec_string = encoder ? "encoder" : "decoder";

avconv.c:3100:32: Condition is false
3098. static AVCodec *find_codec_or_die(const char *name, enum AVMediaType type, int encoder)
3099. {
3100.     const char *codec_string = encoder ? "encoder" : "decoder";
                                     ^
3101.     AVCodec *codec;
3102. 

avconv.c:3100:5: 
3098. static AVCodec *find_codec_or_die(const char *name, enum AVMediaType type, int encoder)
3099. {
3100.     const char *codec_string = encoder ? "encoder" : "decoder";
          ^
3101.     AVCodec *codec;
3102. 

avconv.c:3103:13: Condition is false
3101.     AVCodec *codec;
3102. 
3103.     codec = encoder ?
                  ^
3104.         avcodec_find_encoder_by_name(name) :
3105.         avcodec_find_decoder_by_name(name);

avconv.c:3103:5: 
3101.     AVCodec *codec;
3102. 
3103.     codec = encoder ?
          ^
3104.         avcodec_find_encoder_by_name(name) :
3105.         avcodec_find_decoder_by_name(name);

avconv.c:3106:10: Taking true branch
3104.         avcodec_find_encoder_by_name(name) :
3105.         avcodec_find_decoder_by_name(name);
3106.     if (!codec) {
               ^
3107.         av_log(NULL, AV_LOG_FATAL, "Unknown %s '%s'\n", codec_string, name);
3108.         exit_program(1);

avconv.c:3107:9: Skipping av_log(): empty list of specs
3105.         avcodec_find_decoder_by_name(name);
3106.     if (!codec) {
3107.         av_log(NULL, AV_LOG_FATAL, "Unknown %s '%s'\n", codec_string, name);
              ^
3108.         exit_program(1);
3109.     }

avconv.c:3108:9: Skipping exit_program(): empty list of specs
3106.     if (!codec) {
3107.         av_log(NULL, AV_LOG_FATAL, "Unknown %s '%s'\n", codec_string, name);
3108.         exit_program(1);
              ^
3109.     }
3110.     if (codec->type != type) {

avconv.c:3110:9: 
3108.         exit_program(1);
3109.     }
3110.     if (codec->type != type) {
              ^
3111.         av_log(NULL, AV_LOG_FATAL, "Invalid %s type '%s'\n", codec_string, name);
3112.         exit_program(1);
