private AudioFormat audioFormat;
private byte[] saved;
MP4AudioInputStream(InputStream in, AudioFormat format, long length) throws IOException {
super(in, format, length);
final MP4Container cont = new MP4Container(in);
final Movie movie = cont.getMovie();
final List<Track> tracks = movie.getTracks(AudioTrack.AudioCodec.AAC);
if(tracks.isEmpty()) throw new IOException("movie does not contain any AAC track");
track = (AudioTrack) tracks.get(0);
decoder = new Decoder(track.getDecoderSpecificInfo());