src/main/java/org/jcodec/codecs/h264/H264Utils.java
public static ByteBuffer decodeMOVPacket(ByteBuffer result, AvcCBox avcC) {
        if (avcC.getNalLengthSize() == 4) {
            decodeMOVPacketInplace(result, avcC);
            return result;
        }
        return joinNALUnits(splitMOVPacket(result, avcC));
    }
public static ByteBuffer decodeMOVPacket(ByteBuffer result, AvcCBox avcC) {
        if (avcC.getNalLengthSize() == 4) {
            decodeMOVPacketInplace(result, avcC);
            return result;
        }
        return joinNALUnits(splitMOVPacket(result, avcC));
    }
Decodes AVC packet in ISO BMF format into Annex B format.

Replaces NAL unit size integers with 00 00 00 01 start codes. If the
space allows the transformation is done inplace.

@param result