code: int open(AVDictionary avDictionary, AVCodecContext avContext) throws JavaAVException {
  		if (avContext == null)
  			throw new JavaAVException("Could not open codec. Codec context is null.");
  
  		this.avContext = avContext;
  
  		return avcodec_open2(avContext, avCodec, avDictionary);
  	}
docs: Initializes the {@code Codec} with a dictionary that may contain specific codec
  parameters and a previously created codec context.
  
  @param avDictionary dictionary with codec parameters.
  @param avContext    codec context.
  
  @return zero on success, a negative value on error.
  
  @throws JavaAVException if the codec could not be opened.