@SuppressWarnings("unused") public void createDecoderConfigDescriptor(MP4DataStream bitstream) throws IOException {
  int objectTypeIndication=(int)bitstream.readBytes(1);
  int value=(int)bitstream.readBytes(1);
  boolean upstream=(value & (1 << 1)) > 0;
  byte streamType=(byte)(value >> 2);
  value=(int)bitstream.readBytes(2);
  int bufferSizeDB=value << 8;
  value=(int)bitstream.readBytes(1);
  bufferSizeDB|=value & 0xff;
  int maxBitRate=(int)bitstream.readBytes(4);
  int minBitRate=(int)bitstream.readBytes(4);
  readed+=13;
  if (readed < size) {
    MP4Descriptor descriptor=createDescriptor(bitstream);
    children.addElement(descriptor);
    readed+=descriptor.getReaded();
  }
}

@ SuppressWarnings ( "unused" ) public void createDecoderConfigDescriptor ( MP4DataStream bitstream ) throws IOException { int objectTypeIndication = ( int ) bitstream . readBytes ( 1 ) ; int value = ( int ) bitstream . readBytes ( 1 ) ; boolean upstream = ( value & ( 1 << 1 ) ) > 0 ; byte streamType = ( byte ) ( value > > 2 ) ; value = ( int ) bitstream . readBytes ( 2 ) ; int bufferSizeDB = value << 8 ; value = ( int ) bitstream . readBytes ( 1 ) ; bufferSizeDB |= value & 0xff ; int maxBitRate = ( int ) bitstream . readBytes ( 4 ) ; int minBitRate = ( int ) bitstream . readBytes ( 4 ) ; readed += 13 ; if ( readed < size ) { MP4Descriptor descriptor = createDescriptor ( bitstream ) ; children . addElement ( descriptor ) ; readed += descriptor . getReaded ( ) ; } }
loads the mp4decoderconfigdescriptor from the input bitstream .
