public static void decodeMOVPacketInplace(ByteBuffer result, AvcCBox avcC) {
    """
	Decodes AVC packet in ISO BMF format into Annex B format.
	
	Inplace replaces NAL unit size integers with 00 00 00 01 start codes.
	
	@param result
    """
        if (avcC.getNalLengthSize() != 4)
            throw new IllegalArgumentException("Can only inplace decode AVC MOV packet with nal_length_size = 4.");
        ByteBuffer dup = result.duplicate();
        while (dup.remaining() >= 4) {
            int size = dup.getInt();
            dup.position(dup.position() - 4);
            dup.putInt(1);
            dup.position(dup.position() + size);
        }
    }
public static void decodeMOVPacketInplace(ByteBuffer result, AvcCBox avcC) {
        if (avcC.getNalLengthSize() != 4)
            throw new IllegalArgumentException("Can only inplace decode AVC MOV packet with nal_length_size = 4.");
        ByteBuffer dup = result.duplicate();
        while (dup.remaining() >= 4) {
            int size = dup.getInt();
            dup.position(dup.position() - 4);
            dup.putInt(1);
            dup.position(dup.position() + size);
        }
    }
public static void decodeMOVPacketInplace ( ByteBuffer result , AvcCBox avcC ) { if ( avcC . getNalLengthSize ( ) != 4 ) throw new IllegalArgumentException ( "Can only inplace decode AVC MOV packet with nal_length_size = 4." ) ; ByteBuffer dup = result . duplicate ( ) ; while ( dup . remaining ( ) >= 4 ) { int size = dup . getInt ( ) ; dup . position ( dup . position ( ) - 4 ) ; dup . putInt ( 1 ) ; dup . position ( dup . position ( ) + size ) ; } }
Decodes AVC packet in ISO BMF format into Annex B format.

Inplace replaces NAL unit size integers with 00 00 00 01 start codes.

@param result
Decodes AVC packet in ISO BMF format into Annex B format .