code: public SampleFormat[] getSupportedSampleFormats() {
  		IntPointer sampleFormatsPointer = avCodec.sample_fmts();
  
  		if (getType() != MediaType.AUDIO || sampleFormatsPointer == null)
  			return null;
  
  		List<SampleFormat> sampleFormats = new ArrayList<SampleFormat>();
  
  		int format;
  		int index = 0;
  		while ((format = sampleFormatsPointer.get(index++)) != -1)
  			sampleFormats.add(SampleFormat.byId(format));
  
  		return sampleFormats.toArray(new SampleFormat[0]);
  	}
docs: Get all supported sample formats by this {@code Codec}. If this {@code Codec}
  is not an audio codec, then {@code null} is returned.
  
  @return all supported sample formats by this {@code Codec}.